/*
 * Copyright (c) 2021-2024 SigScalr, Inc.
 *
 * This file is part of SigLens Observability Solution
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


:root {
    --black: #000;
    --white: #fff;
    --error: #f00;

    --font-size-xs: 10px;
    --font-size-sm: 12px;
    --font-size-md: 13px;
    --font-size-lg: 14px;

    --height-lg: 32px;
    --height-md: 26px;
    --height-sm: 24px;
    --height-xs: 23px;

    --error-trace: #E93125;
    --color-danger: #d1242f;
    --color-normal: #40C463;
    --color-pending: #FB9E04;
    --color-firing: #EF364F;
    --color-inactive: #364fef;

    --lavender-1: #B4A6E6;
    --lavender-2: #826CE1;
    --orange-1: #F2A52B;
    --purple-1: #6347D9;
    --purple-2: #6449D6;
    --purple-3: #8270DC;
    --blue-1: #ECF6FB;

    --purple-15p: rgba(99, 71, 217, 0.15);

    --shadow-1: #6F6B7B29;
    --shadow-2: #00000029;

    /* Dark Theme - default */
    --black-1: #160F29;
    --black-2: #262038;
    --black-3: #383148;
    --black-4: #504B5F;
    --black-5: #6F6B7B;
    --black-6: #C8C7CC;
    --black-7: #453F54;
    --black-8: rgb(223, 229, 239);


    /* Light Theme - default */
    --white-0: #FFFFFF;
    --white-1: #F4F4F5;
    --white-2: #EBEBED;
    --white-3: #DCDBDF;
    --white-4: #6F6B7B;
    --white-5: #262038;
    --white-6: #160F29;
    --white-7: #453F54;
    --white-8: #9C99A3;
    --white-9: #F9FAFB;
    --white-10: rgb(52, 55, 65);


    /* aliases - these are the values to optionally override for the light theme */
    --bg-color: var(--black-2);
    --text-color: var(--white-0);
    --hits-summary-text-color: var(--black-6);
    --table-or-regular-text-color: var(--black-6);
    --table-or-regular-text-logs-color: var(--black-8);
    --logs-expand-icon-box-color: var(--black-5);

    --border-switch: var(--white-3);
    --border-btn-color: var(--black-5);
    --filter-color: var(--black-2);
    --table-head-bg-color: var(--black-2);
    --panel-table-line-color: var(--white-4);

    --default-tab: var(--black-1);

    --input-color: var(--white-0);
    --input-bg-color: var(--black-1);
    --input-border-color: transparent;

    --button-text-color: var(--white-0);
    --button-bg-color: var(--black-1);
    --button-border-color: transparent;

    --side-nav-bg-color: var(--black-1);

    --component-bg-color: var(--black-5);
    --component-bg-color-hover: var(--black-7);
    --component-text-color: var(--white-0);

    --date-picker-bg: var(--bg-color);

    --calendar-range-bg-color: var(--button-bg-color);
    --calendar-range-color: var(--text-color);

    --menu-icon-color: var(--bg-color);
    --source-key-color: var(--text-color);
    --source-key-bg-color: var(--bg-color);

    --side-nav-selected-border-color: var(--orange-1);
    --side-nav-bg-color-regular: var(--black-1);
    --side-nav-bg-color-selected: var(--black-2);

    --top-bar-bg-color-regular: var(--black-2);

    --search-bar-bg: var(--black-1);
    --search-bar-text-color-regular-or-hover: var(--black-5);
    --search-bar-text-color-active: var(--black-6);

    --btn-regular-bg-color: var(--purple-1);
    --btn-hover-or-click-bg-color: var(--lavender-2);

    --border-color-regular: var(--black-5);

    --log-views-btn-click-bg-color: var(--purple-2);

    --text-color-regular: var(--white-0);

    --drop-down-btn-bg-regular: var(--black-1);
    --drop-down-btn-bg-hover: var(--black-7);
    --drop-down-btn-bg-active: var(--purple-15p);
    --drop-down-btn-border-active: var(--purple-1);
    --dropdown-bg-color-new: var(--black-5);

    --drop-down-text-color: var(--white-1);
    --drop-down-text-color-new: var(--white-3);

    --hits-summary-bg-regular: var(--black-1);
    --hits-summary-small-text-color: var(--black-5);

    --datatable-row-text-color: var(--black-6);
    --datatable-even-row-bg-color: var(--black-3);
    --datatable-odd-row-bg-color: var(--black-1);

    --datatable-bg-color: var(--black-1);
    --datatable-header-bg-color: var(--black-4);
    --datatable-row-column-line-color: var(--black-2);
    --datatable-header-text-color: var(--white-0);


    --accent-color: var(--purple-1);
    --ui-widget-border-color: var(--black-5);
    --ui-widget-bg-color: var(--black-1);
    --ui-widget-input-default-color: var(--black-6);
    --ui-widget-overlay-bg-color: var(--black-1);

    --footer-text-color: var(--black-5);

    --cstats-table-bg-color: var(--black-1);
    --table-row-column-line-color: var(--black-2);

    --theme-btn-hover-bg-color: var(--black-3);
    --theme-btn-active-bg-color: var(--purple-1);

    --table-header-bg-color: var(--black-4);
    --cstats-header-text-color: var(--white);
    --health-stats-value-text-color: var(--black-6);

    --index-drop-down-box-bg-color: var(--black-1);
    --index-drop-down-item-inactive-bg-color: var(--black-2);
    --index-drop-down-item-hover-bg-color: var(--black-7);
    --index-drop-down-item-active-bg-color: var(--purple-1);
    --index-drop-down-item-active-text-color: var(--white-0);
    --index-drop-down-item-hover-text-color: var(--white-0);
    --index-drop-down-item-inactive-text-color: var(--black-5);

    --available-fields-drop-down-box-bg-color: var(--black-1);
    --available-fields-drop-down-item-inactive-bg-color: var(--black-2);
    --available-fields-drop-down-item-hover-bg-color: var(--black-7);
    --available-fields-drop-down-item-active-bg-color: var(--purple-1);
    --available-fields-drop-down-item-active-text-color: var(--white-0);
    --available-fields-drop-down-item-hover-text-color: var(--white-0);
    --available-fields-drop-down-item-inactive-text-color: var(--black-5);
    --select-unselect-header-text-color: var(--white-0);
    --select-unselect-box-border-color-regular: var(--black-5);
    --select-unselect-box-border-color-hover: var(--lavender-1);
    --select-unselect-box-border-color-clicked: var(--black-5);

    --query-link-text-color: var(--orange-1);

    --progress-bar-value-color: var(--purple-1);
    --progress-bar-bg-color: var(--black-1);

    --timepicker-border-color: var(--black-5);
    --timepicker-bg-color: var(--black-1);
    --timepicker-text-color: var(--black-5);
    --timepicker-text-color-active: var(--black-6);
    --timepicker-bg-color-hover: var(--black-2);
    --timepicker-text-color-hover: var(--lavender-1);

    --timepicker-click-bg-color: var(--purple-2);
    --timepicker-hr-color: var(--black-5);
    --timepicker-dt-hdr-color: var(--white-0);
    --timepicker-reset-color: var(--black-5);

    --timepicker-btn-regular: var(--lavender-1);
    --timepicker-btn-hover: var(--lavender-2);


    --empty-response-text-color: var(--black-5);
    --dashboard-title-color: var(--orange-1);

    --dropdown-border-color: var(--white-4);
    --dropdown-icon-color: var(--white-0);

    --navbar-link-text: var(--white-4);
    --navbar-link-text-active: var(--white-0);

    --metrics-legends-text-color: var(--white-4);
    --legend-element-hover: var(--white);

    --myOrg-button: var(--black-1);
    --myOrg-input: var(--black-1);
    --myOrg-dropdown-bg: var(--black-2);
    --myOrg-dropdown-options-bg: var(--black-1);
    --myOrg-dropdown-color: var(--white-4);
    --myOrg-dropdown-border-color: var(--white-4);

    --delete-btn: var(--color-danger);
    --subsection-border: var(--white-3);
    --search-input-border: var(--white-4);
    --caption-color: var(--white-1);
    --box-shadow: 0px 2px 8px 0px rgba(111, 107, 123, 0.16);
    --alert-background: var(--black-2);
    --black1-to-white0: var(--black-1);
    --alerting-table-bg-color: var(--black-2);
    --alerting-table-line-color: var(--white-4);
    --alerting-table-hover: var(--black-2);
    --tab-active-background: var(--purple-1);
    --dashboard-tab-bg: var(--black-2);
    --top-refresh-btn-bg-img: url("../assets/refresh-icon.svg");
    --new-tab-icon: url("../assets/new-tab-icon-dark.svg");
    --copy-icon: url("../assets/copy-icon-dark-mode.svg");
    --top-setting-btn-bg-img: url("../assets/settings-icon.svg");
    --metrics-function-icon: url("../assets/function-icon-dark.svg");
    --selected-index-container: var(--black-1);
    --selected-filter-yellow: rgb(102, 72, 17);
    --selected-filter-blue: rgb(10, 42, 105);
    --selected-filter-red: rgb(102, 0, 61);
    --number-and-unit-color: var(--orange-1);
    --front-arrow: url('../assets/front-arrow-icon-dark.svg');

    --search-box-input-trace: var(--black-2);

}

/* Light Theme */
[data-theme='light'] {
    --bg-color: var(--white-0);
    --text-color: var(--white-6);
    --hits-summary-text-color: var(--white-5);
    --table-or-regular-text-color: var(--white-4);
    --table-or-regular-text-logs-color: var(--white-10);

    --logs-expand-icon-box-color: var(--white-2);
    --border-switch: var(--black-5);
    --border-btn-color: var(--white-3);
    --default-tab: var(--white-0);
    --filter-color: var(--white-2);
    --table-head-bg-color: var(--white-1);
    --panel-table-line-color: var(--white-3);

    --input-color: var(--white-2);
    --input-bg-color: var(--white-6);

    --button-text-color: var(--white-1);
    --button-bg-color: var(--white-6);

    --top-bar-bg-color-regular: var(--white-0);

    --search-bar-bg: var(--white-1);
    --search-bar-text-color-regular-or-hover: var(--white-8);
    --search-bar-text-color-active: var(--white-5);

    --ui-widget-border-color: var(--white-3);
    --ui-widget-bg-color: var(--white-0);
    --ui-widget-input-default-color: var(--black-6);
    --component-text-color: var(--white-0);

    --border-color-regular: var(--white-3);

    --text-color-regular: var(--black-1);

    --drop-down-btn-bg-regular: var(--white-1);
    --dropdown-bg-color-new: var(--white-2);
    --drop-down-btn-bg-hover: var(--white-2);
    --drop-down-btn-bg-active: var(--purple-15p);

    --drop-down-text-color: var(--white-6);
    --drop-down-text-color-new: var(--black-5);

    --hits-summary-bg-regular: var(--white-2);
    --hits-summary-small-text-color: var(--white-6);
    --hits-summary-regular-text-color: var(--white-5);

    --datatable-row-text-color: var(--white-4);
    --datatable-odd-row-bg-color: var(--white-1);
    --datatable-even-row-bg-color: var(--white-2);

    --datatable-bg-color: var(--white-1);
    --datatable-header-bg-color: var(--white-3);
    --datatable-row-column-line-color: var(--white-0);
    --datatable-header-text-color: var(--black-1);


    --theme-btn-hover-bg-color: var(--white-3);
    --theme-btn-active-bg-color: var(--white-0);

    --footer-text-color: var(--white-8);
    --cstats-table-bg-color: var(--white-1);
    --table-header-bg-color: var(--white-3);
    --table-row-column-line-color: var(--white);
    --cstats-header-text-color: var(--black-1);
    --health-stats-value-text-color: var(--white-4);

    --index-drop-down-box-bg-color: var(--white-1);
    --index-drop-down-item-inactive-bg-color: var(--white-2);
    --index-drop-down-item-hover-bg-color: var(--white-3);
    --index-drop-down-item-active-bg-color: var(--purple-1);
    --index-drop-down-item-active-text-color: var(--white-0);
    --index-drop-down-item-hover-text-color: var(--black-5);
    --index-drop-down-item-inactive-text-color: var(--black-5);

    --available-fields-drop-down-box-bg-color: var(--white-2);
    --available-fields-drop-down-item-inactive-bg-color: var(--white-4);
    --available-fields-drop-down-item-hover-bg-color: var(--white-3);
    --available-fields-drop-down-item-active-bg-color: var(--purple-1);
    --available-fields-drop-down-item-active-text-color: var(--white-0);
    --available-fields-drop-down-item-hover-text-color: var(--white-4);
    --available-fields-drop-down-item-inactive-text-color: var(--black-5);
    --select-unselect-header-text-color: var(--black-1);
    --select-unselect-box-border-color-regular: var(--black-5);
    --select-unselect-box-border-color-hover: var(--lavender-1);
    --select-unselect-box-border-color-clicked: var(--black-5);

    --query-link-text-color: var(--purple-1);

    --empty-response-text-color: var(--white-8);
    --progress-bar-bg-color: var(--white-1);
    --progress-bar-value-color: var(--lavender-1);

    --timepicker-border-color: var(--white-3);
    --timepicker-bg-color: var(--white-0);
    --timepicker-bg-color-hover: var(--white-2);
    --timepicker-bg-color-active: var(--purple-2);
    --timepicker-hr-color: var(--white-3);
    --timepicker-dt-hdr-color: var(--white-6);
    --timepicker-reset-bg-color: var(--white-4);


    --timepicker-text-color: var(--white-8);
    --timepicker-text-color-active: var(--white-5);

    --dashboard-title-color: var(--purple-1);
    --dropdown-border-color: var(--white-3);

    --dropdown-icon-color: var(--white-6);

    --navbar-link-text: var(--white-4);
    --navbar-link-text-active: var(--white-0);

    --metrics-legends-text-color: var(--white-4);
    --legend-element-hover: var(--black);

    --myOrg-button: var(--white-8);
    --myOrg-input: var(--white-1);
    --myOrg-dropdown-bg: var(--white-2);
    --myOrg-dropdown-options-bg: var(--white-0);
    --myOrg-dropdown-color: var(--white-5);
    --myOrg-dropdown-border-color: var(--white-3);
    --subsection-border: var(--white-4);
    --search-input-border: var(--white-3);
    --box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    --alert-background: var(--white-1);
    --black1-to-white0: var(--white-0);
    --alerting-table-bg-color: var(--white-2);
    --alerting-table-line-color: var(--white-3);
    --alerting-table-hover: var(--white-1);
    --tab-active-background: #E8E3F9;
    --dashboard-tab-bg: var(--white-1);
    --top-refresh-btn-bg-img: url("../assets/refreshy-icon.svg");
    --new-tab-icon: url("../assets/new-tab-icon-light.svg");
    --copy-icon: url("../assets/copy-icon.svg");
    --top-setting-btn-bg-img: url("../assets/setting-icon.svg");
    --metrics-function-icon: url("../assets/function-icon.svg");
    --selected-index-container: var(--blue-1);
    --selected-filter-blue: var(--blue-1);
    --selected-filter-yellow: #FFFFCC;
    --selected-filter-red: #FBE7F4;
    --number-and-unit-color: var(--purple-1);
    --front-arrow: url('../assets/front-arrow-icon-light.svg');

    --search-box-input-trace: var(--white-0);

}

/* Typography Utility Classes */
.text-xs {
    font-size: var(--font-size-xs);
}

.text-sm {
    font-size: var(--font-size-sm);
}

.text-md {
    font-size: var(--font-size-md);
}

.text-lg {
    font-size: var(--font-size-lg);
}

.text-bold {
    font-weight: 500;
}

.text-bolder {
    font-weight: 700;
}

/* Button Utility Classes */
.btn {
    height: var(--height-sm);
    font-size: var(--font-size-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    border-radius: 4px;
    margin: 0;
    text-decoration: none;
    white-space: nowrap;
    line-height: normal;
}

.btn:focus {
    outline: none !important;
    box-shadow: none;
}

/* Save-Button */
.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--btn-regular-bg-color);
    color: var(--white-0);
}

.btn-primary:hover,
.btn-primary:disabled {
    background: var(--btn-hover-or-click-bg-color);
    color: var(--white-0) !important;

}

/* Cancel-Button */
.btn-secondary,
.btn-secondary:focus {
    background: var(--component-bg-color-hover);
    color: var(--white-0);
}

.btn-secondary:hover {
    background: var(--component-bg-color-hover);
    opacity: 0.8;
}

/* Dropdown-Button-1 */
.btn-grey {
    border: 1px solid var(--border-btn-color);
    background-color: var(--drop-down-btn-bg-regular);
    color: var(--drop-down-text-color) !important;
}

.btn-grey:hover {
    background: var(--drop-down-btn-bg-hover);
}

/* Dropdown-Button-2 */
.btn-white {
    border: 1px solid var(--border-btn-color);
    background-color: var(--search-box-input-trace);
    color: var(--drop-down-text-color) !important;
}

.btn-white:hover {
    background: var(--drop-down-btn-bg-hover);
}

.btn-purple {
    color: var(--purple-2);
    padding: 2px 10px;
    background-color: var(--black1-to-white0);
    border: 1px solid var(--purple-2);
    font-size: 11px;
    text-decoration: none !important;
    font-weight: bold;
}

.btn-purple:hover {
    background-color: var(--purple-15p);
    color: var(--purple-2)
}

/* Dropdown-Menu */
.dropdown-toggle {
    position: relative;
    padding-right: 28px;
    justify-content: space-between;
}

.dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 12px;
    height: 12px;
    background-image: var(--dropdown-arrow);
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    transition: transform 0.1s ease;
}

/* When dropdown is open */
.dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('../assets/arrow-btn.svg');
    background-repeat: no-repeat;
    background-position: center;
}

/* When dropdown is open */
[data-theme='light'] .dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    background-image: url('../assets/up-arrow-btn-light-theme.svg');
}

[data-theme='dark'] .dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-toggle:hover {
    color: var(--drop-down-text-color);
}

.dropdown-toggle.show,
.dropdown-toggle.active {
    background: var(--drop-down-btn-bg-active) !important;
    border: 1px solid var(--drop-down-btn-border-active) !important;
}

/* Your existing dropdown menu styles */
.dropdown-menu {
    background: var(--index-drop-down-box-bg-color);
    overflow: hidden;
    border: 1px solid var(--timepicker-border-color);
    padding: 0;
    width: 100%;
    z-index: 1;
}

.dropdown-menu li,
.dropdown-option {
    background: var(--index-drop-down-item-inactive-bg-color);
    color: var(--index-drop-down-item-inactive-text-color);
    margin: 6px;
    cursor: pointer;
    padding-left: 10px;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 24px;
    white-space: nowrap;
}

.dropdown-menu li:hover,
.dropdown-option:hover {
    background: var(--index-drop-down-item-hover-bg-color);
    color: var(--index-drop-down-item-hover-text-color);
}

.dropdown-menu li.active,
.dropdown-option.active {
    background: var(--index-drop-down-item-active-bg-color);
    color: var(--index-drop-down-item-active-text-color);
}

.dropdown-toggle::after {
    display: none !important;
    padding: 0;
}

.btn-primary.dropdown-toggle:hover,
.btn-primary.dropdown-toggle.show,
.btn-primary.dropdown-toggle.active {
    background: var(--btn-hover-or-click-bg-color) !important;
    border: none !important;
}

.border-bottom {
    border-bottom: 1px solid var(--search-input-border) !important;
}

.grey-text {
    color: var(--empty-response-text-color);
}

.note-box {
    padding: 15px 20px 15px 50px;
    border-left: 1px solid #418CE4;
    background: rgba(65, 140, 228, 0.30);
    color: var(--text-color);
    border-radius: 0 5px 5px 0;
    position: relative;
}

.note-box::before {
    content: "i";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #418CE4;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-style: normal;
    font-weight: bold;
}

.warning-alert {
    display: flex;
    align-items: flex-start;
    margin-top: 12px;
    padding: 12px 16px;
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 2px solid #f59e0b;
    border-radius: 0 5px 5px 0;
    color: #92400e;
}

/* Upper Navbar Tabs */
.section-buttons {
    display: flex;
    height: 26px;
    border-radius: 4px;
    width: fit-content;
    align-items: center;
    padding: 4px;
    background: var(--hits-summary-bg-regular);
    font-size: 12px;
    gap: 6px;
}

.section-button {
    padding: 4px 10px 5px 10px;
    height: 20px;
    width: fit-content;
    border-radius: 4px;
    background: var(--hits-summary-bg-regular);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.section-button a {
    text-decoration: none;
    color: var(--subsection-border);
}

.section-button.active a {
    color: var(--text-color);
    cursor: pointer;
}

.section-button.active {
    height: 20px;
    border: 1px solid #6347D9;
    background: var(--tab-active-background);
}

.section-button:hover {
    background-color: var(--theme-btn-hover-bg-color);
}

.section-button.active:hover {
    background: var(--tab-active-background);
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.search-input {
    border-radius: 4px;
    border: 1px solid var(--search-input-border);
    background: var(--search-bar-bg);
    height: 26px;
    font-size: 12px;
    padding: 8px 8px 8px 8px;
    box-sizing: border-box;
    width: 100%;
}

.search-input:focus {
    color: var(--search-bar-text-color-active);
    border-radius: 5px;
    background: var(--search-bar-bg);
    outline: 1pt solid var(--drop-down-btn-border-active);
    outline-offset: -1pt;
}

.search-input::placeholder {
    color: var(--white-4);
}

.search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white-4);
    pointer-events: none;
    width: 13px;
    height: 13px;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('./fonts/RobotoMono/RobotoMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('./fonts/RobotoMono/RobotoMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Dark Theme Scrollbar Color Customization */
[data-theme='dark'] ::-webkit-scrollbar-track {
    background: var(--black-3);
}

[data-theme='dark'] ::-webkit-scrollbar-thumb {
    background: var(--black-5);
}

[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
    background: var(--black-6);
}

html {
    font-size: 12px;
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background: var(--bg-color);
    color: var(--text-color);

    font-size: 12px;
    font-weight: 400;
    font-family: Inter, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    min-height: 100%;
}



/* Theme Button  */
.theme-btn-group {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#theme-btn {
    background-color: transparent !important;
}

.theme-img.dark {
    width: 15px;
    object-fit: contain;
}

.theme-img.light {
    width: 18px;
    object-fit: contain;
}

[data-theme='light'] .theme-btn .theme-img.dark {
    display: inline;
}

[data-theme='light'] .theme-btn .theme-img.light {
    display: none;
}

[data-theme='dark'] .theme-btn .theme-img.dark {
    display: none;
}

[data-theme='dark'] .theme-btn .theme-img.light {
    display: inline;
}


/* Main Containers */
#app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#cstats-app-container {
    display: flex;
    height: 100vh;
}

#dashboard {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

#app-content-area {
    overflow: hidden;
}

/* Navigation */
.icon-myorg,
.icon-cstats,
.icon-search,
.icon-usq,
.icon-launchdb,
.icon-metrics,
.icon-alerts,
.icon-minion,
.icon-live,
.icon-traces,
.icon-infrastructure,
.icon-usage-stats,
.icon-ingest,
.icon-help {
    min-height: 28px;
    min-width: 38px;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: 37%;
    background-position: 50%;
    display: inline-block;
    border: 0;
}

#app-side-nav {
    justify-items: center;
    background: var(--side-nav-bg-color-regular);
    color: var(--text-color);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 180px !important;
    overflow: visible;
}

.nav-menu-container {
    margin-top: 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: calc(100vh - 40px - 72px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#app-side-nav::-webkit-scrollbar {
    display: none;
}

[data-theme='dark'] #app-side-nav::-webkit-scrollbar {
    display: none;
}

#app-side-nav .menu.active {
    border-left: none !important;
}

#app-side-nav .menu {
    min-height: 28px;
    border-radius: 0 5px 5px 0;
    margin-bottom: 2px;
    padding-right: 15px;
    position: relative;
}

#app-side-nav .nav-main-menu {
    margin-right: 8px;
}

#app-side-nav .menu:hover {
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

#app-side-nav .nav-main-menu.logo {
    display: flex;
    justify-content: center;
}

#app-side-nav.active .nav-main-menu.logo {
    padding: 20px 0 20px 0px;
}

.sslogo {
    height: 44px;
    width: 25px;
    margin-right: 16px;
}

.icon-search {
    background-image: url("../assets/search-icon-inactive.svg");
    height: 19px;
    width: 19px;
}

.icon-cstats {
    background-image: url("../assets/cluster-health-icon-inactive.svg");
    height: 23px;
    width: 18px;
}

.icon-usq {
    background-image: url("../assets/saved-queries-icon-inactive.svg");
    height: 18px;
    width: 18px;
}

.icon-metrics {
    background-image: url("../assets/metrics-icon-inactive.svg");
    height: 18px;
    width: 18px;
}

.icon-feedback {
    background-image: url("../assets/feedback-icon-inactive.svg");
    height: 18px;
    width: 18px;
    margin-right: 10px;
}

.icon-launchdb {
    background-image: url("../assets/dashboard-icon-inactive.svg");
    height: 18px;
    width: 18px;
}

.icon-myorg {
    background-image: url("../assets/my-org-icon-inactive.svg");
    height: 18px;
    width: 18px;
    background-size: 51%;
}

.icon-ingest {
    background-image: url("../assets/ingestion-icon-inactive.svg");
    height: 18px;
    width: 18px;
    background-size: 42%;
}

.icon-alerts {
    background-image: url("../assets/alerting-icon-inactive.svg");
    height: 18px;
    width: 18px;
    background-size: 34%;
}

.icon-minion {
    background-image: url("../assets/minion-icon-inactive.svg");
    height: 24px;
    width: 24px;
}

.icon-live {
    background-image: url("../assets/live-tail-icon-inactive.svg");
    height: 24px;
    width: 24px;
}

.icon-traces {
    background-image: url("../assets/tracing-icon-inactive.svg");
    height: 24px;
    width: 24px;
}

.icon-infrastructure {
    background-image: url("../assets/infrastructure-inactive.svg");
    height: 24px;
    width: 24px;
}

.icon-usage-stats {
    background-image: url("../assets/usage-stats-regular.svg");
    height: 24px;
    width: 24px;
}

.menu.nav-lookups .icon-search {
    background-image: url("../assets/lookups-icon-inactive.svg");

}

.icon-search:hover,
.menu.nav-search.active .icon-search,
.menu.nav-search:hover .icon-search {
    background-image: url("../assets/search-icon-active.svg");
    height: 19px;
    width: 19px;
}

.icon-cstats:hover,
.menu.nav-cstats.active .icon-cstats,
.menu.nav-cstats:hover .icon-cstats {
    background-image: url("../assets/cluster-health-icon-active.svg");
    height: 23px;
    width: 18px;
}

.icon-usq:hover,
.menu.nav-usq.active .icon-usq,
.menu.nav-usq:hover .icon-usq {
    background-image: url("../assets/saved-queries-icon-active.svg");
    height: 18px;
    width: 18px;
}

.nav-feedback:hover .icon-feedback {
    background-image: url("../assets/feedback-icon-active.svg");
    height: 18px;
    width: 18px;
}

.icon-launchdb:hover,
.menu.nav-ldb.active .icon-launchdb,
.menu.nav-ldb:hover .icon-launchdb {
    background-image: url("../assets/dashboard-icon-active.svg");
    height: 18px;
    width: 18px;
}

.icon-traces:hover,
.icon-traces.active,
.nav-traces .menu-header:hover .icon-traces {
    background-image: url("../assets/tracing-icon-active.svg");
    height: 24px;
    width: 24px;
}

.icon-metrics:hover,
.icon-metrics.active,
.nav-metrics .menu-header:hover .icon-metrics {
    background-image: url("../assets/metrics-icon-active.svg");
    height: 18px;
    width: 18px;
}

.icon-myorg:hover,
.menu.nav-myorg.active .icon-myorg,
.menu.nav-myorg:hover .icon-myorg {
    background-image: url("../assets/my-org-icon-active.svg");
    height: 18px;
    width: 18px;
    background-size: 51%;
}

.icon-alerts:hover,
.icon-alerts.active,
.nav-alerts .menu-header:hover .icon-alerts {
    background-image: url("../assets/alerting-icon-active.svg");
    height: 18px;
    width: 18px;
    background-size: 34%;
}

.icon-minion:hover,
.menu.nav-minion.active .icon-minion,
.menu.nav-minion:hover .icon-minion {
    background-image: url("../assets/minion-icon.svg");
    height: 24px;
    width: 24px;
}

.icon-live:hover,
.menu.nav-slos.active .icon-live,
.menu.nav-slos:hover .icon-live {
    background-image: url("../assets/live-tail-icon-active.svg");
    height: 24px;
    width: 24px;
}

.icon-infrastructure:hover,
.icon-infrastructure.active,
.nav-infrastructure .menu-header:hover .icon-infrastructure {
    background-image: url("../assets/infrastructure-active.svg");
    height: 24px;
    width: 24px;
}

.icon-usage-stats:hover,
.menu.nav-usage-stats.active .icon-usage-stats,
.menu.nav-usage-stats:hover .icon-usage-stats {
    background-image: url("../assets/usage-stats-active.svg");
    height: 24px;
    width: 24px;
}

.icon-lookups:hover,
.menu.nav-lookups.active .icon-search,
.menu.nav-lookups:hover .icon-search {
    background-image: url("../assets/lookups-icon-active.svg");
    height: 19px;
    width: 19px;
}

.icon-ingest:hover,
.icon-ingest.active,
.nav-ingest .menu-header:hover .icon-ingest {
    background-image: url("../assets/ingestion-icon-active.svg");
    height: 18px;
    width: 18px;
    background-size: 42%;
}

#app-side-nav {
    position: fixed;
    left: -250px;
    top: 0px;
    height: 100vh;
    width: 250px;
    transition: all 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.1);
}

body.nav-expanded #app-side-nav {
    left: 0;
}

#dashboard,
#alerting,
.cstats-data-container,
.myOrg {
    margin-top: 40px;
    transition: margin-left 0.3s;
}

/* Footer */
#app-footer {
    position: fixed;
    bottom: 0;
    right: 40px;
    font-size: 0.7rem;
    z-index: -100;
    width: fit-content;
    height: 23px;
    font-style: normal;
    font-weight: bold;
    line-height: 23px;
    letter-spacing: -0.02em;
    color: var(--footer-text-color);
}

#cstats-app-footer {
    float: right;
    font-size: 0.7rem;
    width: 100%;
    text-align: right;
    height: 23px;
    font-style: normal;
    font-weight: bold;
    line-height: 23px;
    letter-spacing: -0.02em;
    color: var(--footer-text-color);
}

/* bootstrap overrides*/




input.form-control {
    border: 1px solid var(--search-input-border);
    background: var(--search-bar-bg);
    font-size: 12px;
    border-radius: 5px;
    transition: none;
    box-shadow: none !important;
    height: 24px;
    color: var(--text-color);
}

input {
    padding: 8px;
    font-size: 12px;
    background: var(--ui-widget-bg-color);
    box-sizing: border-box;
    width: 100%;
    height: 26px;
    border-radius: 5px;
    border: 1px solid var(--search-input-border);
    background: var(--search-bar-bg);
    color: var(--text-color)
}

input.form-control:focus,
textarea.focus {
    color: var(--search-bar-text-color-active);
    border-radius: 5px;
    background: var(--search-bar-bg);
    border-color: var(--purple-1);
}

textarea {
    border: 1px solid var(--search-input-border);
    background: var(--search-bar-bg);
    font-size: 12px;
    border-radius: 5px;
    padding: 8px;
}

textarea:focus-visible {
    outline: none;
}

/* Logs Screen */

#log-opt-single-btn.btn.active,
#log-opt-multi-btn.btn.active,
#log-opt-table-btn.btn.active {
    background: var(--log-views-btn-click-bg-color) !important;
}

#progress-div {
    display: grid;
    grid-template-columns: 3fr auto;
    column-gap: 25px;
    height: 8px;
    font-size: 14px;
    font-weight: bold;
}

#percent-value {
    line-height: 10px;
    color: var(--hits-summary-text-color);
    font-size: 10px;
}

progress {
    margin-top: 4px;
    height: 5px !important;
    width: 100%;
    text-align: center;
    background-color: var(--progress-bar-bg-color);
    border-radius: 50px !important
}

/* For Chrome or Safari */
progress::-webkit-progress-bar {
    background-color: var(--progress-bar-bg-color);
    border-radius: 50px !important
}

progress::-webkit-progress-value {
    background-color: var(--progress-bar-value-color) !important;
    border-radius: 50px !important
}

progress::-moz-progress-bar {
    background-color: var(--progress-bar-value-color) !important;
    border-radius: 50px !important
}

progress.hidden {
    height: 0;
    transition-delay: .4s;
}

#record-searched {
    text-align: center;
    font-size: 10px;
}

.hits-summary {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hits-summary div {
    margin-top: 8px;
}

.hits-summary div:last-child {
    margin-top: 16px;
    font-size: 10px;
    color: var(--hits-summary-small-text-color);
}

#hits-summary progress {
    vertical-align: middle;
}

.final-res-time span {
    font-weight: bold;
}

[data-theme='light'] #hits-summary {
    color: var(--hits-summary-regular-text-color);
    font-weight: 400;
}

[data-theme='light'] .total-hits {
    color: var(--hits-summary-small-text-color);
    font-weight: var(--fw-500);
}

#logs-view-controls {
    display: grid;
    grid-template-columns: repeat(2, auto);

}

#logs-view-controls.hidden {
    height: 0;
}



#log-view {
    width: 72px;
    height: 24px;
    background-color: var(--drop-down-btn-bg-regular);
    border-radius: 4px;
    border: 1px solid var(--border-btn-color);
}

.single-line-icon,
.multi-line-icon,
.table-view-icon {
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: 50%;
    display: inline-block;
    border: 0;
    min-height: 16px;
    min-width: 16px;
}

.single-line-icon {
    background-image: url("../assets/single-line-icon.svg");
}

.multi-line-icon {
    background-image: url("../assets/wrap-line-icon.svg");
    height: 16px;
    width: 18px;
}

.table-view-icon {
    background-image: url("../assets/table-view-icon.svg");
    height: 16px;
    width: 16px;
}

.btn.active .single-line-icon {
    background-image: url("../assets/single-line-icon-active.svg");
    background-size: 110%;
}

.btn.active .multi-line-icon {
    background-image: url("../assets/wrap-line-icon-active.svg");
    height: 16px;
    width: 18px;
}

.btn.active .table-view-icon {
    background-image: url("../assets/table-view-icon-active.svg");
    background-size: 120%;
}

.table-view-icon,
.multi-line-icon,
.single-line-icon {
    background-repeat: no-repeat;
    background-position: center;
}

#log-opt-single-btn,
#log-opt-multi-btn,
#log-opt-table-btn {
    width: 24px;
    height: 16px;
    border-radius: 2px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    z-index: 0;
}

#log-opt-single-btn {
    margin: 3px;
}

#log-opt-multi-btn {
    margin: 3px 3px 3px 0;
}

#log-opt-table-btn {
    margin: 3px 3px 3px 0;
}

#log-opt-single-btn:hover,
#log-opt-multi-btn:hover,
#log-opt-table-btn:hover {
    background-color: var(--theme-btn-hover-bg-color);
}

#views-container {
    display: flex;
    justify-content: flex-end;
    column-gap: 8px;
    margin-left: 23px;
    border-radius: 5px;
    width: 100%;
}

#corner-popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 40px 20px;
    background-color: var(--qb-box-bg);
    max-width: 600px;
    border: 1px solid var(--logs-expand-icon-box-color);
    box-shadow: 0 2px 4px var(--shadow-1);
    border-radius: 8px !important;
}

.corner-text {
    font-size: 25px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

#empty-qsearch-response,
#empty-response {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-color);
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px;
}

/* Save Query Dialog box */
.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
    content: "";
    display: table;
    border-collapse: collapse;
}

.ui-helper-clearfix:after {
    clear: both;
}

.ui-dialog {
    position: absolute;
    top: 0;
    left: 0;
    padding: .2em;
    outline: 0;
    z-index: 999;
}

.ui-dialog .ui-dialog-titlebar {
    padding: .4em 1em;
    position: relative;
}

.ui-dialog .ui-dialog-title {
    float: left;
    margin: .1em 0;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: .5em 1em;
    background: none;
    overflow: auto;
}

.ui-dialog-buttonset {
    display: flex;
    gap: 16px;
    float: inline-end;
}

.ui-dialog-buttonset button {
    width: 100%;
}

/* Component containers
----------------------------------*/
.ui-widget input {
    font-family: Inter, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

.ui-widget-content {
    border: 1px solid var(--ui-widget-border-color);
    background: var(--ui-widget-bg-color);
    color: var(--text-color);
}

.ui-widget-header {
    border: 1px solid var(--ui-widget-border-color);
    background: var(--ui-widget-bg-color);
    color: var(--text-color);
    font-weight: bold;
}

.ui-widget-content a {
    color: #0d6efd;
}

.ui-widget.ui-widget-content {
    border: 1px solid var(--ui-widget-border-color);
}

/* Corner radius */

.ui-corner-all {
    border-radius: 3px;
}

.ui-widget-content .ui-state-highlight {
    border: 1px solid var(--error);
    background: var(--bg-color);
    color: var(--accent-color);
    font-size: 11px !important;
    font-weight: 500;
}

.ui-widget-header .ui-state-highlight {
    border: 1px solid var(--error);
    background: var(--accent-color);
    color: var(--text-color);
}

.checkbox {
    vertical-align: middle;
    float: right;
}

.index-label {
    display: block;
    overflow: hidden;
}

#close-btn {
    align-self: center;
    margin: auto;
    padding: 10px 28px;
    font-size: 12px;
    display: flex;
    background-color: var(--btn-regular-bg-color);
    color: var(--button-text-color) !important;
}

#logs-settings {
    position: relative;
}

#setting-container {
    box-shadow: var(--box-shadow);
    display: none;
    position: absolute;
    top: 40px;
    right: 10px;
    border-radius: 5px;
    z-index: 9;
    font-size: 12px !important;
    background: var(--timepicker-bg-color);
    border: 1px solid var(--timepicker-border-color);
    width: 190px;
}

#setting-container>div {
    padding: 12px;
}

/* cluster stats start */

#app-content-area {
    width: 100%;
    background-color: var(--bg-color);
}

#app-content-area .cstats-data-container {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#cluster-stats-theme {
    display: grid;
    grid-template-columns: auto;
    justify-content: end;
    margin-top: 16px;
    margin-right: 25px;
    margin-left: 23px;
    height: 44px;
}

#app-content-area #filter-container {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    margin: 0;
    height: 44px;
    background: var(--black1-to-white0);
}

#app-content-area .graph-container {

    display: flex;
    width: 97%;
    align-items: center;
    justify-content: space-around;
}

.ingestion-stats-header {
    margin-bottom: 8px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.ingestion-table {
    margin-top: 12px;
    display: table !important;
}

.ingestion-table tbody td {
    padding-left: 15px;
    width: 333px;
    height: 55px;
    border: 3px solid var(--table-row-column-line-color);
    background-color: var(--cstats-table-bg-color);

}

.ingestion-table tbody tr {
    padding-bottom: 20px;
    line-height: 23.18px;
}

.ingestion-table tbody tr:nth-child(1) td:nth-child(1) {
    border-radius: 10px 0 0 0;
}

.ingestion-table tbody tr:nth-child(1) td:nth-child(2) {
    border-radius: 0 10px 0 0;
}

.ingestion-table tbody tr:nth-child(3) td:nth-child(1) {
    border-radius: 0 0 0 10px;
}

.ingestion-table tbody tr:nth-child(3) td:nth-child(2) {
    border-radius: 0 0 10px 0;
}

.query-stats {
    width: 50%;
    margin-right: 30px;
}

.query-stats-header {
    font-size: 14px;
    color: var(--cstats-header-text-color);
    font-weight: bold;
    font-style: normal;
}

.query-table {
    margin-top: 12px;
}

.query-table tbody td {
    padding-left: 15px;
    width: 334px;
    height: 50px;
    border: 3px solid var(--table-row-column-line-color);
    background-color: var(--cstats-table-bg-color);
}

.query-table tbody tr {
    padding-bottom: 20px;
    line-height: 18px;
}

.query-table tbody tr:nth-child(1) td:nth-child(1) {
    border-radius: 10px 0 0 0;
}

.query-table tbody tr:nth-child(1) td:nth-child(2) {
    border-radius: 0 10px 0 0;
}

.query-table tbody tr:nth-child(2) td:nth-child(1) {
    border-radius: 0 0 0 10px;
}

.query-table tbody tr:nth-child(2) td:nth-child(2) {
    border-radius: 0 0 10px 0;
}

.health-stats-value,
.org-settings-table td {
    color: var(--health-stats-value-text-color);
}

#system-info-table th,
#org-settings-table th,
#raft-system-info-table th,
#dist-nodes-data-table tr td:first-child,
#pqs-settings-table th {
    width: 300px;
}

#system-info-table td div {
    margin: 5px 0px !important;
}

#system-info-table td div b {
    width: 75px;
    display: inline-block;
}

.index-stats {
    margin: auto;
    float: left;
    width: 100%;
    margin-bottom: 50px;
}

.index-data-table {
    width: 100%
}

.index-stats-header {
    font-size: 14px;
    color: var(--cstats-header-text-color);
    font-weight: 500;
}

.dataTables_wrapper {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 1px solid var(--border-color-regular);
}

.index-data-table {
    margin: 0 !important;
}

.index-data-table thead th {
    background: var(--hits-summary-bg-regular) !important;
    padding-left: 15px !important;
    border-bottom: none !important;
}

.index-data-table tbody tr {
    background: var(--bg-color) !important;
}

.index-data-table .even {
    background: var(--bg-color) !important;
    padding-left: 15px !important;
}

.index-data-table tbody td {
    color: var(--table-or-regular-text-color) !important;
    font-weight: normal;
}

.index-data-table tbody>tr:nth-child(1) td {
    color: var(--purple-1) !important;
    font-weight: 500 !important;
}

#metrics-data-table tbody>tr:nth-child(1) td {
    color: var(--table-or-regular-text-color) !important;
    font-weight: normal !important;
}

div.dts div.dataTables_scrollBody table {
    z-index: 0 !important;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 15px;
}

.index-data-table tbody td {
    color: var(--table-or-regular-text-color) !important;
    font-weight: normal;
    padding: 10px 15px !important;
    border-bottom: none !important;
}

.index-data-table tbody tr {
    position: relative;
}

.index-data-table tbody tr::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1%;
    width: 98%;
    height: 1px;
    background-color: var(--border-color-regular, #e2e8f0);
}

.index-data-table tbody tr:last-child::after {
    display: none;
}

.dataTables_wrapper.no-footer .index-data-table {
    border-bottom: none !important;
    border-collapse: separate !important;
    background-color: var(--bg-color) !important;
}

.dataTables_info {
    color: var(--text-color) !important;
    font-size: 10px;
    border-top: 1px solid var(--border-color-regular) !important;
    width: 100%;
    padding: 3px 15px !important;
    background-color: var(--hits-summary-bg-regular);
}

#index-data-table_wrapper .dataTables_info {
    margin-top: 14px;
}

#metrics-data-table_wrapper .dataTables_info {
    display: none !important;
}

.chart_container {
    margin-bottom: 30px;
}

.bar_chart_container {
    width: 36%;
    margin-top: auto;
}

.bar-graph-footer {
    margin-left: 33%;
    font-weight: bold;
}

.index-data-table.dataTable.no-footer {
    width: 100% !important;
}

.storage-savings-container {
    display: grid;
    grid-template: 1fr / 1fr;
    place-items: center;
}

.storage-savings-container>* {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}

.storage-savings-container .storage-savings-title {
    margin-top: 220px;
    z-index: 2;
    margin-left: 30px;
}

.storage-savings-container .storage-savings-percent {
    text-align: center !important;
    color: rgb(115, 191, 105) !important;
    font-size: 4.4em;
    align-items: center;
    font-weight: var(--fw-900);
    z-index: 1;
    margin-left: 41px;
}

.query-stats-container {
    display: flex;
    width: 97%;
}

.chart-container {
    position: relative;
    flex-direction: column;
    border: 1px solid var(--search-input-border);
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    padding: 10px;
    background: var(--black1-to-white0);
}

.chart-container #date-picker-btn {
    width: 140px !important;
    margin-left: 20px !important;
    height: 32px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--search-input-border);
}


/* cluster stats end */

#logs-result-container,
#agg-result-container {
    height: 100% !important;
}

#queries-grid-container {
    margin-top: 16px;
    height: 100% !important;
}

#queries-grid-container .ag-cell a {
    color: var(--dashboard-title-color) !important;
    text-decoration-line: underline;
    text-decoration: none;
}

#queries-grid-container .ag-cell a:hover {
    text-decoration: underline;
}









#delbutton {
    background-image: url(../assets/dark-delete-icon-regular.svg);
    height: 13px;
    background-repeat: no-repeat;
    width: 18px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    /* margin-left: 35px; */
    padding-bottom: 0;
    margin-top: 0px;
    background-size: contain;
}

.mute-icon {
    background-image: url(../assets/mute-regular-icon.svg);
    height: 13px;
    background-repeat: no-repeat;
    width: 18px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    /* margin-left: 35px; */
    padding-bottom: 0;
    margin-top: 0px;
    background-size: contain;
    position: relative;
}

.mute-icon.muted {
    background-image: url(../assets/unmute-regular-icon.svg);
}

.download-button {
    background-image: url(../assets/download-regular.svg);
    height: 13px;
    background-repeat: no-repeat;
    width: 18px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    padding-bottom: 0;
    margin-top: 4px;
    background-size: contain;
}

#editbutton,
.edit-icon {
    background-image: url(../assets/edit-alert-icon.svg);
    height: 13px;
    background-repeat: no-repeat;
    width: 20px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    margin-left: 0px;
    padding-bottom: 0;
    background-size: contain;
    background-position: center;
}


#delOrgUserBtn,
.index-del-btn {
    background-image: url(../assets/dark-delete-icon-regular.svg);
    height: 13px;
    width: 15px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    margin-left: 15px;
    background-size: contain;
    background-repeat: no-repeat;
}


#duplicateButton {
    background-image: url(../assets/dashboard-duplicate-icon.svg);
    height: 17px;
    width: 17px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    margin-left: 15px;
    background-size: cover;
}

#favbutton {
    background-image: url(../assets/star-outline.svg);
    height: 14px;
    width: 15px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    background-size: contain;
}

#favbutton.active {
    background-image: url(../assets/star-filled.svg);
}

#delbutton:hover {
    background-image: url(../assets/dark-delete-icon-hover.svg);
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    /* margin-left: 35px; */
}

.download-button:hover {
    background-image: url(../assets/download-active.svg);
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
}

.mute-icon:hover {
    background-image: url(../assets/mute-active-icon.svg);
}

.mute-icon.muted:hover {
    background-image: url(../assets/unmute-active-icon.svg);
}

#editbutton:hover {
    background-image: url(../assets/edit-alert-icon-active.svg);
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    margin-left: 0px;
}

.white-download-icon {
    background-image: url(../assets/download-icon-dark.svg);
    height: 13px;
    background-repeat: no-repeat;
    width: 20px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    margin-left: 0px;
    padding-bottom: 0;
    background-size: contain;
    background-position: center;
    margin-right: 2px;
}

/* Delete confimation popup */
.popupOverlay,
.mypopupOverlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--ui-widget-overlay-bg-color);
    opacity: .75;
    z-index: 2;
}

.rule-name-error {
    display: none;
}

.rule-name-error.active {
    display: block;
    color: #6449D6;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 4px;
}

.popupContent,
.delete-dialog,
.mypopupContent {
    background-color: var(--ui-widget-bg-color);
    border-radius: 8px;
    border: 1px solid var(--ui-widget-border-color);
    padding: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    color: var(--text-color);
    font-size: 1em;
    height: fit-content;
    width: 380px !important;
    z-index: 10;
}

.delete-dialog {
    width: 564px !important;
}

.usage-stats .popupContent {
    background-color: var(--ui-widget-bg-color);
    border-radius: 8px;
    border: 1px solid var(--ui-widget-border-color);
    padding: 25px;
    position: absolute;
    top: 32%;
    left: 35%;
    visibility: hidden;
    color: var(--text-color);
    font-size: 1em;
    height: fit-content;
    width: 479px !important;
    z-index: 12;
}

.popupContent .header,
.delete-dialog .header,
.mypopupContent .header {
    color: var(--text-color);
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 18px;
}

#buttons-popupContent {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    font-size: 14px;
    gap: 16px;
}

#buttons-popupContent button {
    width: 100%;
}

.popupOverlay.active,
.popupContent.active,
.delete-dialog.active,
.mypopupOverlay.active,
.mypopupContent.active {
    visibility: visible;
    position: fixed;
}

.prompt-text-container {
    margin-bottom: 16px;
}

[data-theme='dark'] .popupContent,
[data-theme='dark'] .mypopupContent {
    background: var(--ui-widget-bg-color);
    border: 1px solid var(--ui-widget-border-color);
    color: var(--text-color);
}

/* end saved queries page overrides */

/*  start available fields dropdown overrides */
#available-fields {
    background: var(--index-drop-down-box-bg-color);
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid var(--timepicker-border-color);
    width: max-content;
}

#available-fields::-webkit-scrollbar {
    width: 0;
}

.available-fields-dropdown-item {
    height: 24px;
    display: flex;
    align-items: center;
    background: var(--index-drop-down-item-inactive-bg-color);
    color: var(--index-drop-down-item-inactive-text-color);
    margin-bottom: 8px;
    margin-top: 6px;
    margin-right: 8px;
    cursor: pointer;
    padding-left: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.available-fields-dropdown-item:hover {
    background: var(--available-fields-drop-down-item-hover-bg-color);
    color: var(--available-fields-drop-down-item-hover-text-color);
}

.available-fields-dropdown-item.active {
    background: var(--available-fields-drop-down-item-active-bg-color);
    color: var(--available-fields-drop-down-item-active-text-color);
    width: max-content;
}

.available-fields-dropdown-item img {
    display: none;
    float: right;
    position: relative;
    top: 15%;
    transform: translateY(-50%);
    right: 5px;
    vertical-align: middle;
    margin-left: 10px;
}

.fieldname-text {
    flex-grow: 1;
    white-space: nowrap;
    overflow: visible;
}

.fields {
    margin-left: 8px;
    overflow: auto;
    height: 172px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fields::-webkit-scrollbar {
    display: none;
}

.available-fields-dropdown-item.active img {
    display: inline;
}

#select-unselect-header {
    color: var(--select-unselect-header-text-color);
    font-weight: bold;
    position: relative;
    margin-top: 5px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    width: 162px;
}

.select-unselect-checkbox {
    margin-left: 10px;
    height: 17px;
    width: 17px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.select-unselect-checkbox:hover {
    border: 1px solid var(--select-unselect-box-border-color-hover);
}

.select-unselect-checkbox.active {
    border: 0px solid var(--select-unselect-box-border-color-clicked);
}

.select-unselect-checkmark {
    position: relative;
    z-index: 2;
    float: right;
    right: 16px;
    top: 0px;
}


/*  end available fields dropdown overrides */

/* save query dialog  */

#save-queries {
    display: none;
}

#download-info {
    display: none;
}

.ui-widget {
    font-size: 1em;
    height: 327px;
    width: 334px;
}

.ui-dialog-titlebar-close {
    display: none;
}

.ui-widget-header {
    border: none;
    background: var(--ui-widget-bg-color);
    color: var(--text-color);
    font-weight: bold;
}

.ui-widget-header {
    border: none;
}

.ui-widget-overlay {
    position: fixed;
    z-index: 1049;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--ui-widget-overlay-bg-color);
}

.ui-widget-overlay img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -27px 0 0 -27px;
}


.opacity-75 {
    opacity: .75 !important;
    -moz-opacity: .75 !important;
}


.ui-dialog .ui-dialog-title {
    float: left;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
    display: none;
    /* padding: 22px 0 0 30px !important; */
}

div#save-queries {
    height: 220px !important;
    margin: 16px !important;
    padding: 0 !important;
    overflow-x: hidden;
}

div#download-info,
.download-result {
    margin: 20px !important;
    padding: 0 !important;
}

div#download-info .form-check-input[type=radio] {
    border: 1px solid var(--border-color-regular);
}

.ui-dialog-title {
    font-size: 18px;
}

.ui-widget input {
    font-size: 14px;
    background: var(--ui-widget-bg-color);
    padding-left: 8px;
    box-sizing: border-box;
    color: var(--text-color);
}

.ui-widget input:focus {
    outline: none;
}

.validateTips.active {
    height: 1em;
    line-height: 1em;
    font-size: 0.8em;
    border: none;
    margin: 0 0 5px 0;
    display: block;
}

.validateTips {
    display: none;
}

input[type="text"]:focus,
input[type="number"]:focus {
    color: var(--search-bar-text-color-active);
    border-radius: 5px;
    background: var(--search-bar-bg);
    outline: 1pt solid var(--drop-down-btn-border-active);
    outline-offset: -1pt;
}

input[type="text"].active {
    color: var(--search-bar-text-color-active);
}

/* end save query dialog  */

.starred-filter {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.checkbox {
    color: var(--select-unselect-header-text-color);
    font-size: 14px;
    position: relative;
    margin-right: 6px;
    display: flex;
    align-items: center;
    width: 18px;
}

.checkbox[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--purple-1);
}

.checkbox[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 0.1rem;
    background-color: var(--hits-summary-bg-regular);
    border: 1.5px solid var(--purple-1);
    border-radius: 2px;
}

.checkbox[type="checkbox"]:not(:checked)::before {
    content: '';
}

.checkbox[type="checkbox"]:checked {
    background-color: var(--purple-1);
}

.checkbox[type="checkbox"]:checked::before {
    content: '\2713';
    /* Unicode for checkmark */
    color: white;
}

.checkbox[type="checkbox"]:hover {
    cursor: pointer;
}

/* datepicker */

#date-picker-btn {
    min-width: 120px;
    border: 1px solid var(--border-btn-color);
    background-color: var(--drop-down-btn-bg-regular);
    color: var(--drop-down-text-color) !important;
}

#date-picker-btn:hover {
    background: var(--drop-down-btn-bg-hover);

}

.dropdown-menu.daterangepicker.show {
    width: 300px !important;
    height: 360px !important;
    background: var(--timepicker-bg-color);
    border: 1px solid var(--timepicker-border-color);
    border-radius: 5px;
    color: var(--table-or-regular-text-color);
    display: block;
    padding: 8px;
    z-index: 2;
}

#daterangepicker.active {
    display: block;
}

#daterangepicker.hidden {
    display: none;
}

input[type="date"],
input[type="time"] {
    cursor: text;
    font-size: 12px;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-inner-spin-button {
    cursor: pointer;
}

input[type="date"]::-moz-calendar-picker-indicator,
input[type="time"]::-moz-calendar-picker-indicator {
    cursor: pointer;
}

.dt-header {
    margin-bottom: 4px;
    font-style: normal;
    font-weight: bold;
    font-size: var(--font-size-sm);
    color: var(--timepicker-dt-hdr-color);
}

.dt-head-right {
    padding-right: 26px !important;
}

.ranges {
    float: none !important;
    display: grid;
    gap: 2px;
}

.inner-range {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
}

.default-label {
    color: white;
    background-color: #364fef;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-right: 6px;
    text-decoration: none !important;
}

.range-item {
    padding-left: 8px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    display: flex;
    align-items: center;
    border-radius: 5px;
    line-height: 18px;
    cursor: pointer;
}

hr {
    margin: .5rem 0;
    color: var(--timepicker-hr-color) !important;
    border: 0;
}

.range-item:hover {
    color: var(--timepicker-text-color-hover);
}

.range-item.active {
    background-color: var(--index-drop-down-item-active-bg-color);
    color: var(--index-drop-down-item-active-text-color);
}

#reset-timepicker {
    float: right;
    color: var(--timepicker-reset-color);
    margin-right: 8px;
    cursor: pointer;
}

#reset-timepicker:hover {
    color: var(--timepicker-text-color-hover);
}

#daterange-from,
#daterange-to {
    margin-top: 8px;
}

#date-start,
#date-end,
#time-start,
#time-end {
    margin-top: 8px;
    width: 134px;
    height: 24px;
    border: 1px solid var(--timepicker-border-color);
    border-radius: 4px;
}

#time-start,
#time-end {
    margin-left: 10px;
}

#date-start:hover,
#date-end:hover,
#time-start:hover,
#time-end:hover {
    border: 1px solid var(--drop-down-btn-border-active);
}

#date-start.active,
#date-end.active,
#time-start.active,
#time-end.active {
    color: var(--timepicker-text-color-active);
}

#date-start:focus,
#date-end:focus,
#time-start:focus,
#time-end:focus {
    border: 1px solid var(--timepicker-border-color);
    outline: none;
}

[data-theme='dark'] input {
    color-scheme: dark;
}

input[type="date" i],
input[type="time" i] {
    padding-inline-start: 10px !important;
    opacity: 1;
    position: relative;
    border: none;
    background-color: transparent;
    color: var(--timepicker-text-color);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    color: var(--timepicker-text-color);
    filter: invert(0.5);
}

.daterangepicker .drp-buttons {
    margin-top: 10px;
}

.col-sep {
    color: var(--search-bar-text-color-regular-or-hover);
}

#date-start.error,
#date-end.error {
    border: 2px solid #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.date-range-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.date-range-error::before {
    content: "⚠️";
    margin-right: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#date-range-error {
    animation: fadeIn 0.3s ease-in-out;
}

.db-range-item.active {
    background-color: var(--index-drop-down-item-active-bg-color);
    color: var(--index-drop-down-item-active-text-color);
}


.db-range-item:hover {
    color: var(--timepicker-text-color-hover);
}

.db-range-item {
    padding-left: 8px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    display: flex;
    align-items: center;
    border-radius: 5px;
    line-height: 18px;
    cursor: pointer;
}

/* end datepicker*/

#replace-pcs-btn.btn {
    color: var(--button-text-color) !important;
}

#append-pcs-btn.btn {
    color: var(--button-text-color) !important;
}

#close-pcs-btn.btn {
    color: var(--button-text-color) !important;
}

.search-bar-container {
    display: inline-block;

}

.info-icon {
    font-size: 15px;
    color: var(--text-color);
    top: 6px;
    pointer-events: all;
    cursor: pointer;
    left: auto;
    right: 10px;
    position: absolute !important;
    z-index: 1;
}

#filter-input {
    padding-left: 1rem;
    padding-right: 3.2rem;
}

.tooltip {
    display: inline;
    position: absolute;
}

.tooltip-inner {
    display: flex;
    text-align: left !important;
    max-width: fit-content;
    white-space: pre-line !important;
    padding: 0.5rem !important;
    border: 1px var(--accent-color) !important;
    border-style: solid !important;
    background-color: var(--ui-widget-bg-color) !important;
    color: var(--text-color) !important;
    justify-content: center;
    font-size: 11px;
    cursor: text;
}

/* Logs Results Ag-Grid Css */

#LogResultsGrid,
#queries-grid,
#measureAggGrid,
.panelLogResultsGrid {
    height: 100%;
    width: 100%;
    font-family: Roboto Mono, Menlo, Courier, monospace !important;
}

.ag-theme-mycustomtheme .ag-center-cols-container {
    background: var(--datatable-odd-row-bg-color) !important;
}

.ag-theme-mycustomtheme .ag-root-wrapper {
    border-radius: 5px;
    padding-left: 0px !important;
    padding-top: 0 !important;
    color: var(--table-or-regular-text-logs-color);
}

.ag-theme-mycustomtheme .ag-root-wrapper-body {
    background: var(--datatable-odd-row-bg-color) !important;
    border-radius: 5px;
}

.ag-theme-mycustomtheme .ag-center-cols-container {
    background: var(--datatable-odd-row-bg-color) !important;
}

.ag-theme-mycustomtheme .ag-header {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: var(--datatable-header-bg-color) !important;
    border-bottom: 0 !important;
    font-weight: var(--fw-500);
    color: var(--table-or-regular-text-logs-color) !important;
}

.ag-theme-mycustomtheme {
    min-height: 35px !important;
}

.ag-header-row {
    /* min-height: 42px!important; */
    /* margin-top: 6px; */
    height: auto;
}

.ag-header-cell-text {
    /* text-indent: 12px  !important; */
    color: var(--text-color) !important;
    font-size: 12px;
    font-weight: bold;
    user-select: all;
    font-family: Inter, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

.ag-theme-mycustomtheme .ag-header-cell-resize {
    background-color: var(--bg-color) !important;
}

.ag-cell {
    padding: 3px 15px !important;
    font-size: 12px;
}

.ag-cell:focus-visible {
    outline: none;
}

.ag-theme-mycustomtheme .ag-row {
    min-height: 26px !important;
}

.LogResultsGrid.ag-theme-mycustomtheme .ag-row:hover {
    background: var(--alerting-table-hover) !important;
}

.ag-theme-mycustomtheme .ag-center-cols-container {
    background: var(--datatable-odd-row-bg-color) !important;
}

.ag-header-cell {
    padding: 0 15px !important;
    font-weight: bold;
    width: 100%;
}

.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper {
    display: flex;
    align-items: center;
}

.panelLogResultsGrid {
    height: 100%;
}

.ag-pinned-left-header {
    border-right: 5px solid var(--bg-color) !important;
}

.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell) {
    border-right: 5px solid var(--bg-color) !important;
}

.ag-cell-label-container {
    padding: 0;
}

.expand-icon-box {
    display: inline-flex;
    background: var(--logs-expand-icon-box-color);
    padding: 1px 6px;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.expand-icon-button {
    background: none;
    border: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
}

.expand-svg-container {
    display: flex;
    align-items: center;
    padding: 5px;
}

.expand-svg-container.before-tabs {
    margin-right: 4px;
    padding: 0;
}

.expand-svg-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.expand-svg-button {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.expand-svg-button svg {
    height: 18px;
    width: 18px;
    transition: transform 0.3s ease;
}

/* Base styles for SVG elements */
.expand-svg-button svg rect {
    fill: none;
    stroke: var(--icon-border-color, #303030);
    stroke-width: 1;
}

.expand-svg-button svg path {
    fill: none;
    stroke: var(--icon-arrow-color, #303030);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Light theme - Keep current color (#ccc) */
[data-theme='light'] .expand-svg-button .lucide-panel-left-open rect,
[data-theme='light'] .expand-svg-button .lucide-panel-left-close rect {
    stroke: var(--icon-border-color, #303030);
}

[data-theme='light'] .expand-svg-button .lucide-panel-left-open path,
[data-theme='light'] .expand-svg-button .lucide-panel-left-close path {
    stroke: var(--icon-arrow-color, #303030);
}

/* Dark theme - Set color to white */
[data-theme='dark'] .expand-svg-button .lucide-panel-left-open rect,
[data-theme='dark'] .expand-svg-button .lucide-panel-left-close rect {
    stroke: var(--icon-border-color, white);
}

[data-theme='dark'] .expand-svg-button .lucide-panel-left-open path,
[data-theme='dark'] .expand-svg-button .lucide-panel-left-close path {
    stroke: var(--icon-arrow-color, white);
}

.odd-popup-textarea {
    background: var(--datatable-odd-row-bg-color) !important;
    color: var(--text-color) !important;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    overflow: auto;
    font-size: 12px;
}

.even-popup-textarea {
    background: var(--datatable-even-row-bg-color) !important;
    color: var(--text-color) !important;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    overflow: auto;
    font-size: 12px;
}

.fa-sort-alpha-up:before {
    margin-left: 5px !important;
}

.fa-sort-alpha-down:before {
    margin-left: 5px !important;
}

.fa-sort-alpha-desc:before {
    margin-left: 5px !important;
}

/*launch dashboard*/
.launch-dashboard {
    padding: 16px;
}

.launch-dashboard .popupContent .error-tip {
    color: #6449D6;
    visibility: hidden;
    font-size: 10px;
    margin-bottom: 0px;
}

.launch-dashboard .popupContent .error-tip.active {
    visibility: visible;
}


.launch-dashboard #empty-response {
    display: none;
}

#error-ok-btn {
    float: right;
}

.dashboard-header {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.add-icon {
    height: 12px;
    width: 12px;
    margin-right: 8px;
}

.dashboard-grid {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    white-space: nowrap;
    color: var(--dashboard-title-color);
    border-radius: 5px;
    margin-top: 4px;
    background-color: var(--datatable-odd-row-bg-color);
    font-size: 18px;
    text-decoration-line: underline;
    cursor: pointer;
}

.dashboard-grid .db-button {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/*dashboard*/
#new-dashboard {
    overflow-x: hidden;
    color: var(--cstats-header-text-color);
    margin-left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 0.3s linear;
    height: 100%;
    margin-top: 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    height: 48px;
    align-items: center;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid var(--alerting-table-line-color);
    background-color: var(--db-bg-color);
}

#breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dashboard-arrow {
    background-image: var(--front-arrow);
    height: 10px;
    width: 6px;
    background-size: contain;
}

.all-dashboards,
.folder-name {
    font-size: 14px;
    color: #6F6B7B;
    cursor: pointer;
    margin-bottom: 0;
}

.name-dashboard {
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 0;
}

#new-dashboard .star-icon {
    margin-left: 0px;
    margin-bottom: 1px;
}

#new-dashboard .btn-container {
    display: flex;
    gap: 8px;
}

#add-panel-btn,
#save-db-btn,
.settings-btn,
.refresh-btn,
#run-search,
.save-btn {
    text-decoration: none;
    border: none;
    line-height: 14px;
    display: flex;
    background: var(--btn-regular-bg-color);
    color: var(--button-text-color) !important;
    align-items: center;
    justify-content: center;
}

.settings-btn#logs-settings {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    cursor: pointer;
    border: 1px solid var(--border-color-regular) !important;
    background: var(--top-setting-btn-bg-img) var(--drop-down-btn-bg-regular) center center no-repeat !important;
    background-size: 60% !important;
}

.settings-btn:hover {
    background: var(--top-setting-btn-bg-img) var(--drop-down-btn-bg-hover) center center no-repeat !important;
    background-size: 50% !important;
}

/*panel*/

#panel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.panel div.panel-header {
    cursor: move;
    display: flex;
    align-items: center;
    padding: 3px 10px 3px 20px;
    cursor: move;
    color: var(--hits-summary-regular-text-color);
    border-radius: 1px 1px 0px 0px;
    position: relative;
    font-size: 12px;
    justify-content: space-between;
    height: 30px;
    border-bottom: 1px solid var(--border-color-regular);
    background-color: var(--db-bg-color);
}

.panel div.panel-header p {
    color: var(--white-1);
}

.panel div.panel-header p {
    margin: 0;
}



.panel div.panel-header .dropdown-btn {
    width: 3px;
    height: 11px;
    margin-left: 10px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 1px;
    background-size: cover;
}

.panel div.panel-header .hidden {
    visibility: hidden;
}

.panel {
    width: 100%;
    height: 100%;
    border-radius: 1px;
    display: flex;
    flex-direction: column;
}

.panel-body {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--db-bg-color);
}

.panel-body #corner-popup {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: static;
    width: 100%;
    height: 100%;
    border: none;
    background-color: transparent;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    z-index: 1;
    transform: none;
    box-shadow: none;
}

.panel-body #empty-response {
    font-weight: 500;
    color: var(--text-color);
}

.dropdown-style {
    text-decoration: none;
    border: 1px solid var(--dropdown-border-color);
    position: absolute;
    top: 25px;
    list-style-type: none;
    padding: 10px;
    cursor: pointer;
    background-color: var(--edit-panel-bg-color);
    border-radius: 1px;
    z-index: 2;
    right: 0px;
    font-size: 11px;
    box-shadow: var(--box-shadow);
}


.dropdown-style .icon {
    background-color: var(--dropdown-icon-color);
    height: 20px;
}

.dropdown-style li {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}

.dropdown-style li:last-child {
    padding-bottom: 0px;
}

.dropdown-style .view {
    background-image: url(../assets/view-icon-dropdown.svg);
    background-size: contain;
    width: 16.5px;
    height: 12px;
    margin-right: 16px;
}

[data-theme='dark'] .dropdown-style .view {
    background-image: url(../assets/view-icon-dark-mode.svg);
}

.dropdown-style .edit {
    background-image: url(../assets/edit-icon.svg);
    background-size: contain;
    width: 12px;
    height: 12px;
    margin-right: 18px;
}

[data-theme='dark'] .dropdown-style .edit {
    background-image: url(../assets/edit-icon-dark-mode.svg);
}

.dropdown-style .copy {
    background-image: url(assets/copy-icon.svg);
    background-size: contain;
    width: 20px;
    height: 20px;
    margin-right: 14px;
}

[data-theme='dark'] .dropdown-style .copy {
    background-image: url(../assets/copy-icon-dark-mode.svg);
}

.dropdown-style .duplicate {
    background-image: url(../assets/duplicate-icon.svg);
    background-size: contain;
    width: 13px;
    height: 13px;
    margin-right: 14px;
}

[data-theme='dark'] .dropdown-style .duplicate {
    background-image: url(../assets/duplicate-icon-dark-mode.svg);
}

.dropdown-style .remove {
    background-image: url(../assets/remove-icon.svg);
    background-size: contain;
    width: 12px;
    height: 13.78px;
    margin-right: 18px;
}

[data-theme='dark'] .dropdown-style .remove {
    background-image: url(../assets/remove-icon-dark-mode.svg);
}

.search-db-input {
    padding-left: 1rem;
    padding-right: 4.4rem;
    height: 32px;
    color: var(--text-color) !important;
}

/* dashboard Grid*/
#dashboard-grid-container {
    height: 100% !important;
}

#dashboard-grid {
    height: 100%;
    width: 100%;
}

#dashboard-grid .ag-header-cell {
    padding-right: 15px !important;
}

#dashboard-grid .ag-header {
    background: var(--bg-color) !important;
    color: var(--datatable-header-text-color);
    font-size: 18px;
    font-weight: bold;

}

#dashboard-grid .ag-row {
    max-height: 100px;
}

#dashboard-grid .ag-center-cols-viewport {
    background: var(--bg-color);
}

#dashboard-grid .ag-theme-mycustomtheme .ag-center-cols-container {
    background: var(--bg-color);

}

#dashboard-grid .ag-cell {
    display: flex !important;
    padding: 0px 0px 0px 15px !important;
    font-size: 12px;
    text-decoration-line: none;
    border-bottom: var(--bg-color) 5px solid;
}

#dashboard-grid .ag-cell a {
    color: var(--dashboard-title-color) !important;
    text-decoration-line: underline;
    text-decoration: none;
}

#dashboard-grid .ag-cell a:hover {
    text-decoration: underline;
}

#dashboard-grid .ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell) {
    border-right: 0px !important;
}

#dashboard-grid.ag-theme-mycustomtheme .ag-root-wrapper-body {
    background: none !important;
}

#dashboard-grid .ag-pinned-left-cols-container {
    background: var(--datatable-odd-row-bg-color) !important;
}

.dashboard-grid-btn,
#alert-grid-btn {
    display: flex;
    align-items: center;

}

.folder-arrow {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    transition: transform 0.2s;
    color: var(--table-or-regular-text-color);
}

.folder-arrow .fa-chevron-right {
    font-size: 11px;
}

.folder-arrow:hover {
    background-color: var(--index-drop-down-item-hover-bg-color);
}

.folder-name-display {
    font-size: 16px;
    font-weight: 500;
    word-break: break-word;
}

.folder-name-input {
    font-size: 16px;
    font-weight: 500;
}

.folder-edit-icon {
    cursor: pointer;
    margin-left: 10px;
}

.content-count {
    font-weight: bold;
}

#bulk-delete-btn {
    display: none;
}

/*NAVBAR */
.sidebar-icon {
    background-image: url("../assets/collapse-sidebar-icon.svg");
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 20px;
    left: 205px;
    top: 28px;
    transition: all 0.3s linear;
}

.sidebar-icon.active {
    background-image: url("../assets/expand-sidebar-icon.svg");
    left: 73px;
    top: 28px;
    z-index: 1;
}

.nav-links,
.main-help-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    justify-content: flex-start;
}

.nav-link-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--navbar-link-text);
    white-space: nowrap;
}

.nav-link-text-drpdwn {
    font-size: 11px;
    font-weight: 500;
    color: var(--navbar-link-text);
    white-space: nowrap;
}

.nav-links.disable-hover:hover {
    pointer-events: none;
    cursor: default;
}

.nav-link-text.feedback {
    line-height: 23px;
    text-decoration-line: underline;
}

#app-side-nav .menu.active .nav-link-text,
.nav-link-text:hover,
.help-links:hover .nav-link-text {
    color: var(--navbar-link-text-active);
}


#app-side-nav .menu.active .nav-link-text-drpdwn {
    color: var(--navbar-link-text);
}

#app-side-nav .menu:hover .nav-link-text-drpdwn,
.nav-link-text-drpdwn:hover {
    color: var(--navbar-link-text-active);
}

#app-side-nav .menu.logo .sslogo-text {
    padding-left: 8px;
    width: 82px;
    height: 20px;
}


.nav-metrics,
.nav-traces,
.nav-ingest,
.nav-alerts,
.nav-infrastructure {
    position: relative;
}

#app-side-nav .menu:hover .link-search,
#app-side-nav .menu:hover .link-slos,
#app-side-nav .menu:hover .link-minion,
#app-side-nav .menu:hover .link-usq,
#app-side-nav .menu:hover .link-myorg,
#app-side-nav .menu:hover .link-ldb,
#app-side-nav .menu:hover .link-usage-stats,
#app-side-nav .menu:hover .link-lookups {
    background-color: var(--side-nav-bg-color-selected);
}

#app-side-nav .menu.active .link-search,
#app-side-nav .menu.active .link-slos,
#app-side-nav .menu.active .link-minion,
#app-side-nav .menu.active .link-usq,
#app-side-nav .menu.active .link-myorg,
#app-side-nav .menu.active .link-ldb,
#app-side-nav .menu.active .link-usage-stats,
#app-side-nav .menu.active .link-lookups {
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    background-color: var(--side-nav-bg-color-selected);
}

/* Specific styling for Submenu dropdown */
#app-side-nav .nav-traces .menu-header,
#app-side-nav .nav-metrics .menu-header,
#app-side-nav .nav-ingest .menu-header,
#app-side-nav .nav-alerts .menu-header,
#app-side-nav .nav-infrastructure .menu-header,
#app-side-nav .nav-kubernetes .menu-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 28px;
    border-radius: 0 5px 5px 0;
}

#app-side-nav .nav-traces.active,
#app-side-nav .nav-metrics.active,
#app-side-nav .nav-ingest.active,
#app-side-nav .nav-alerts.active,
#app-side-nav .nav-infrastructure.active,
#app-side-nav .nav-kubernetes.active {
    border-left: none !important;
    border-right: none !important;
    background-color: transparent !important;
}

#app-side-nav .nav-metrics.active .nav-link-text-drpdwn,
#app-side-nav .nav-traces.active .nav-link-text-drpdwn,
#app-side-nav .nav-ingest.active .nav-link-text-drpdwn,
#app-side-nav .nav-alerts.active .nav-link-text-drpdwn,
#app-side-nav .nav-infrastructure.active .nav-link-text-drpdwn,
#app-side-nav .nav-kubernetes.active .nav-link-text-drpdwn {
    color: white !important;
}

#app-side-nav .nav-traces .menu-header:hover,
#app-side-nav .nav-metrics .menu-header:hover,
#app-side-nav .nav-ingest .menu-header:hover,
#app-side-nav .nav-alerts .menu-header:hover,
#app-side-nav .nav-infrastructure .menu-header:hover,
#app-side-nav .nav-kubernetes .menu-header:hover {
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

#app-side-nav .nav-traces.active .traces-dropdown,
#app-side-nav .nav-metrics.active .metrics-dropdown,
#app-side-nav .nav-ingest.active .ingestion-dropdown,
#app-side-nav .nav-alerts.active .alerts-dropdown,
#app-side-nav .nav-infrastructure.active .infrastructure-dropdown,
#app-side-nav .nav-kubernetes.active .kubernetes-dropdown {
    border-left: none !important;
    border-right: none !important;
    background-color: var(--side-nav-bg-color-regular) !important;
}

.traces-dropdown,
.metrics-dropdown,
.ingestion-dropdown,
.alerts-dropdown,
.infrastructure-dropdown {
    display: none;
    background-color: var(--side-nav-bg-color-regular);
    padding: 0 0 6px 0;
    margin: 0;
    font-size: 11px;
    color: var(--navbar-link-text) !important;
    list-style-type: none;
    border-radius: 0 0 5px 5px;
    position: static;
    width: 100%;
    cursor: pointer;
}

.traces-dropdown a,
.metrics-dropdown a,
.ingestion-dropdown a,
.alerts-dropdown a {
    color: var(--navbar-link-text) !important;
    text-decoration: none;
    display: block;
    padding-left: 20px;
}

.traces-dropdown li,
.metrics-dropdown li,
.ingestion-dropdown li,
.alerts-dropdown li {
    margin-bottom: 2px;
    font-weight: 500;
    height: 28px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

.traces-dropdown li:hover,
.metrics-dropdown li:hover,
.ingestion-dropdown li:hover,
.alerts-dropdown li:hover {
    color: white !important;
    border-right: 5px solid var(--side-nav-bg-color-selected);
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
}

/* Active state for submenu items */
.traces-dropdown li.active,
.metrics-dropdown li.active,
.ingestion-dropdown li.active,
.alerts-dropdown li.active {
    color: white !important;
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    /* Orange bar for submenu */
    background-color: var(--side-nav-bg-color-selected) !important;
    border-radius: 0 5px 5px 0 !important;
}

#app-side-nav .nav-infrastructure.active .nav-kubernetes .nav-link-text-drpdwn {
    color: var(--navbar-link-text) !important;
}

#app-side-nav .nav-infrastructure:hover .nav-kubernetes .nav-link-text-drpdwn {
    color: var(--navbar-link-text) !important;
}

#app-side-nav .nav-infrastructure.active .nav-kubernetes.active .nav-link-text-drpdwn {
    color: white !important;
}

#app-side-nav .nav-infrastructure .nav-kubernetes:hover .nav-link-text-drpdwn {
    color: white !important;
}

.infrastructure-dropdown div {
    padding: 0px 0px 0px 20px !important;
}

.infrastructure-dropdown div.menu-header {
    margin-bottom: 0px !important;
    font-weight: 500;
    height: 28px;
    align-items: center;
    border-left: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

.infrastructure-dropdown div.menu-header:hover {
    color: white !important;
    border-right: 0px solid var(--side-nav-bg-color-selected);
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
}

.infrastructure-dropdown div.menu-header.active {
    color: white !important;
}

.kubernetes-dropdown {
    display: none;
    padding: 0 0 0 0 !important;
    margin: 0;
    font-size: 11px;
    color: var(--navbar-link-text) !important;
    list-style-type: none;
    border-radius: 0 0 5px 5px;
    position: static;
    width: 100%;
    cursor: pointer;
}

.kubernetes-dropdown a {
    color: var(--navbar-link-text) !important;
    text-decoration: none;
    display: block;
    padding-left: 20px;
}

.kubernetes-dropdown li {
    margin-bottom: 2px;
    font-weight: 500;
    height: 28px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

.kubernetes-dropdown li:hover {
    color: white !important;
    border-right: 5px solid var(--side-nav-bg-color-selected);
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
}

.kubernetes-dropdown li.active {
    color: white !important;
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    /* Orange bar for submenu */
    background-color: var(--side-nav-bg-color-selected) !important;
    border-radius: 0 5px 5px 0 !important;
}

.nav-dropdown-icon,
.kubernetes-arrow {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown-icon.rotated {
    transform: rotate(180deg) !important;
}


#app-side-nav .nav-help .help-menu-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 28px;
    border-radius: 0 5px 5px 0;
}

#app-side-nav .help-menu-header:hover {
    background-color: var(--side-nav-bg-color-selected) !important;
}

#app-side-nav .nav-help.active {
    border-left: none !important;
    border-right: none !important;
    background-color: transparent !important;
}

/* #app-side-nav .nav-help.active .nav-link-text-drpdwn {
    color: white !important;
} */

.main-help-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    width: 100%;
    min-height: 28px;
    border-right: 5px solid transparent;
    border-radius: 0 5px 5px 0;
    padding-right: 5px;
}

.help-links {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    width: 100%;
    min-height: 28px;
    border-right: 5px solid transparent;
    border-radius: 0 5px 5px 0;
    margin-bottom: 5px;
    padding-right: 5px;
}

.nav-feedback .help-links {
    margin-bottom: 0;
    margin-top: 5px;
}

.help-options.help-links {
    background-color: var(--side-nav-bg-color-selected) !important;
    color: var(--navbar-link-text) !important;
    border-radius: 5px;
}

.help-options .help-links:hover {
    background-color: var(--side-nav-bg-color-selected) !important;
    color: rgb(255, 255, 255);
    border-radius: 5px;
}

.nav-dropdown-icon.help-arrow {
    transform: rotate(270deg) !important;
}

.nav-dropdown-icon.help-arrow.rotated {
    transform: rotate(180deg) !important;
}

/* METRICS UI */
#metrics-graph-container,
#metrics-table-container {
    height: 80vh;
    border-radius: 5px;
    margin: 0px 27px 0px 22px;
    background: var(--search-bar-bg);
}

#metrics-display-toggle-container {
    margin: 0px 0 10px 22px;
    width: 150px;
    height: 30px;
    border-radius: 5px;
    background: var(--myOrg-input);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.metrics-table-btn,
.metrics-graph-btn {
    height: 22px;
    margin: 4px;
    width: 70px;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metrics-table-btn.active,
.metrics-graph-btn.active {
    background: var(--btn-regular-bg-color) !important;
    color: var(--button-text-color) !important;
}

.metrics-table-btn:hover,
.metrics-graph-btn:hover {
    background-color: var(--theme-btn-hover-bg-color);
}

.metrics-response {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    margin-right: 20px;
    font-size: 14px;
}

#response-time {
    font-weight: bold;
    margin-left: 4px;
}

#metrics-canvas-container {
    height: 80%;
    padding: 20px;
    padding-top: 0px;
}

#metrics-legends {
    display: flex;
    flex-direction: column;
    color: var(--metrics-legends-text-color);
    font-size: 14px;
    padding-left: 40px;
    overflow-x: scroll;
    cursor: pointer;
    height: 14%;
}

.legend-element {
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: 5px;
}

.legend-colors {
    border-radius: 3px;
    width: 25px;
    height: 6px;
    display: inline-block;
}

.legend-element:hover {
    color: var(--legend-element-hover);
}

.legend-element.selected {
    color: var(--legend-element-hover);
}

#metrics-table-container {
    overflow-y: scroll;
    font-size: 16px;
}

#metrics-table-container table {
    width: 100%;
}

#metrics-table-container table th:first-child {
    border-radius: 6px 0 0 0;
    width: 70%;
}

#metrics-table-container table th:last-child {
    border-radius: 0 6px 0 0;
    border-left: 4px var(--top-bar-bg-color-regular) solid;
}

#metrics-table-container table tr:first-child {
    background: var(--table-header-bg-color);
}

#metrics-table-container tr th {
    padding: 10px 20px;
}

#metrics-table-container table tr td {
    padding: 8px 20px;
    color: var(--table-or-regular-text-color);
}

#metrics-table-container tr:nth-child(odd) {
    background: var(--datatable-odd-row-bg-color)
}

#metrics-table-container tr:nth-child(even) {
    background: var(--datatable-even-row-bg-color)
}

/* MY ORG PAGE */
.myOrg {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.myOrg-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: scroll;
    padding: 20px;
}

.myOrg-inner-container {
    margin-bottom: 20px;
}

.copy-link-container {
    display: flex;
    height: 24px;
    align-items: center;
}

.myOrgFormInput {
    width: 694px;
    margin-right: 6px;
}

.copy-button {
    background-size: cover;
    height: 24px;
    background-color: var(--myOrg-input);
    border-radius: 5px;
    color: var(--timepicker-text-color);
    width: 24px;
    margin-right: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
}

.copy-button .copy-icon {
    top: 6px;
    right: 5px;
}

.copy-button .copy-icon.success {
    top: 8px;
}

.copy-button:hover {
    background-color: var(--theme-btn-hover-bg-color);
}


.api-keys-inner-info {
    display: flex;
    margin-bottom: 16px;
}

.caption {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.inviteBtn:disabled,
#del-org-btn:disabled,
#del-index-btn:disabled {
    background-color: var(--timepicker-text-color) !important;
}

.test-contact-btn.disabled {
    pointer-events: all;
    cursor: not-allowed;
}

.myOrg-inner-container input[type="submit"] {
    width: 120px;
}

.users-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

#inviteForm {
    display: flex;
    align-items: center;
    gap: 8px;
}

.users-data-table {
    height: calc(100% - 30px);
    width: 100%;
}

.myOrg #panelLogResultsGrid {
    height: 100%;
    width: 100%;
}

.users-table {
    height: 100%;
    width: 100%;
    background: #B4A6E6;
}

#orgGridBtns {
    display: flex;
    align-items: center;
    gap: 10px;
}


.myOrg-heading {
    font-weight: 500;
    font-size: 16px;
    color: var(--datatable-header-text-color);
    margin-bottom: 4px;
}

.myOrg-inner-container label {
    font-size: 14px;
    margin-bottom: 5px;
}

.myOrg .role-inner-dropdown {
    line-height: 24px;
    border-radius: 5px;
    border: 1px solid var(--myOrg-dropdown-border-color);
    padding-left: 10px;
    padding-right: 10px;
    width: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--table-or-regular-text-color);
    cursor: pointer;
}


.main-dropdown .dropdown-menu,
.invite-role-options {
    width: 120px;
}

.main-dropdown .dropdown-menu {
    visibility: hidden;
    display: block;
}

.main-dropdown .dropdown-menu.active {
    visibility: visible;
}

.roles.selected {
    background: var(--index-drop-down-item-active-bg-color) !important;
    color: var(--index-drop-down-item-active-text-color) !important;
}

.myOrg .ag-cell {
    overflow: visible;
}

.myOrg .pqs-grid .ag-cell {
    overflow: hidden !important;
}

.copy-msg {
    font-size: 22px;
    /* color: var(--text-color); */
    top: 0.75rem;
    /* left: 62.75rem; */
    pointer-events: all;
    cursor: pointer;
    left: auto;
    right: 10px;
}

#receiverEmail {
    width: 300px;
    height: 24px;
}

.myOrgScreen .ag-root-wrapper {
    padding-left: 0 !important;
    height: 100%;
}

#viewPanel-container {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 90%;
    position: relative;
    padding: 20px;
}

/* ORG SIGNUP FORM */
.create-org-page {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(107.3deg, #6347D9 -0.52%, #CCC3EF 100%);
}

.org-signup-form {
    width: 600px;
    height: 354px;
    background: var(--black-1);
    border-radius: 5px;
    padding: 60px 70px;
    color: var(--white-0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.org-signup-form .header {
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.org-signup-form label {
    color: var(--white-0);
    font-size: 18px;
    padding-bottom: 10px;
}

.org-signup-form .input {
    background: #262038;
    border: 1px solid #B4A6E6;
    border-radius: 5px;
    width: 100%;
    font-size: 18px;
    color: #C8C7CC;
}

.org-signup-form .error-tip {
    color: #6449D6;
    visibility: hidden;
    font-size: 10px;
    margin-left: 8px;
    margin-bottom: 0px;
}

.org-signup-form .org-name-err-2 {
    margin-top: -15px;
}

.org-signup-form .error-tip.active {
    visibility: visible;
    text-align: initial;
}

.org-signup-form input[type="text"]:focus {
    border-radius: 5px;
    outline: 1pt solid var(--drop-down-btn-border-active);
    outline-offset: -1pt;
}

.org-signup-form input[type="text"].active {
    color: #C8C7CC;
}

.org-signup-form button {
    width: 195px !important;
    height: 45px !important;
    border-radius: 5px;
    border: none;
    background: var(--component-bg-color);
    color: var(--component-text-color);
}

#submit-org-btn:hover {
    background: var(--lavender-1);
    transition: all 0.1s linear;
}

#submit-org-btn {
    margin: 10px 0 0 14px !important;
    background: var(--purple-1);
}

.submit-org-btn {
    text-align: center;
}

.org-settings {
    width: 850px;
}

.org-settings-table {
    width: 100%;
}

#main-settings-table.org-settings-table td,
#system-info-table.org-settings-table td {
    display: flex;
    justify-content: end;
}

#querytimeout-table td:last-child {
    justify-content: start;
}

.org-settings-table tr {
    font-weight: var(--fw-500) !important;
}

.org-settings-table tr th,
.org-settings-table td {
    padding: 16px 10px;
    white-space: nowrap
}

.org-settings-table tr:not(:last-child) {
    border-bottom: 1px solid var(--alerting-table-line-color);
}

#querytimeout-table tr:not(:last-child) {
    border-bottom: none;
}

.settings-card {
    margin-bottom: 24px;
    border: 1px solid var(--search-input-border);
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    padding: 24px;
    background: var(--black1-to-white0);
}

.settings-card .header {
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-2);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.settings-card .header::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--purple-2);
    border-radius: 4px;
}

.usage-info {
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--alert-background);
}

.dist-card .sub-sec {
    border: 1px solid var(--search-input-border);
    border-radius: 10px;
    margin-top: 14px;
}

.dist-card .sub-sec h6 {
    padding: 8px;
    margin-left: 0px;
    background: var(--table-header-bg-color);
    font-size: 12px;
    border-radius: 9px 9px 0 0;
    font-weight: bold;
    margin-bottom: 0px;
}

.org-settings-table .text-right {
    text-align: right;
}

.dist-card .sub-sec div {
    padding: 0 4px 4px 4px;
}

.retention-days-value {
    margin-right: 5px;
    width: 64px;
}



#settings-buttons {
    margin-left: 20px;
}

#confirm-save-ret-days-btn {
    width: 84px;
    border-radius: 5px;
    box-shadow: none !important;
    border: none;
    font-size: 14px;
    height: 30px;
}

#del-index-btn {
    background-color: var(--delete-btn) !important;
    color: var(--button-text-color) !important;
}

.prompt-input {
    margin-bottom: 18px;
}

.prompt-text {
    font-weight: var(--fw-500);
}

.prompt-text-bottom {
    margin: 15px 0;
}

#index-summary-prompt {
    width: 450px !important;
}

#index-summary-prompt .summary-content {
    border: 1px solid var(--border-btn-color);
    padding: 20px 20px 0px 20px;
    border-radius: 10px;
}

.index-name {
    text-decoration: none;
    color: var(--purple-1);
    font-weight: 500;
}

.index-name:hover {
    color: var(--purple-1);
    font-weight: 500;
    text-decoration: underline;
}

.index-name::after {
    content: "ⓘ";
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
    color: var(--purple-1);
    opacity: 0.8;
}

/*SignUP Form*/
.email-form input {
    font-size: 14px;
    margin-bottom: 16px;
}

.email-form input:focus {
    outline: 1pt solid var(--drop-down-btn-border-active);
    outline-offset: -1pt;
    color: var(--text-color);
}

.log-in-btn {
    background-color: var(--purple-1);
    border: none;
    color: var(--white) !important;
    height: 36px;
    width: 100%;
    border-radius: 5px;
    margin-top: 8px;
    font-weight: bold;
}

.log-in-btn:hover {
    background-color: var(--btn-hover-or-click-bg-color);
}

.login-separator {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
    color: var(--black-4);
    font-weight: bold;
}

.login-separator:before {
    content: " ";
    display: block;
    height: 1.5px;
    width: 185px;
    position: absolute;
    top: 50%;
    left: 30px;
    background: var(--black-4);
}

.login-separator:after {
    content: " ";
    height: 1.5px;
    width: 185px;
    background: var(--black-4);
    display: block;
    position: absolute;
    top: 50%;
    right: 30px;
}

.error-container {
    background-color: rgba(127, 29, 29, 0.4);
    border: 1px solid rgb(185, 28, 28);
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    font-weight: bold;
    color: rgb(254, 202, 202);
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.error-container.show {
    display: flex;
}

#login-form {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(107.3deg, #6347D9 -0.52%, #CCC3EF 100%);
}

.form-box {
    width: 470px;
    background: var(--black-1);
    border-radius: 10px;
    padding: 38px;
    color: var(--white-0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.form-box .sslogo {
    width: 240px;
    height: auto;
    margin-bottom: 10px;
}

.form-box .tag-line {
    color: #B4A6E6;
    font-size: 28px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.signup-fields {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.signup-fields a {
    background: #352f48;
    border-radius: 8px;
    text-decoration: none;
    height: 40px;
    width: 100%;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.02em;
    color: var(--white-0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-fields a:hover,
.signup-fields a:focus {
    /* border: 1px solid var(--purple-1); */
    background: #262038;

}

.signup-fields a span img {
    margin-right: 20px;
    height: 20px;
}

.tag-line-toggle p {
    color: #B4A6E6;
    font-size: 14px;
    margin-top: 10px;
}

.tag-line-toggle p span {
    margin-left: 5px;
    font-size: 15px;
    color: var(--orange-1);
    font-weight: bold;
    cursor: pointer;
}

.tag-line-toggle p span:hover {
    text-decoration: underline;
}

.form-toggle #signup {
    display: none;
}

.tag-line-toggle .signin-tag {
    display: none;
}

.tag-line-toggle .signup-tag {
    display: block;
}

.tag-line-toggle.active .signin-tag {
    display: block;
}

.tag-line-toggle.active .signup-tag {
    display: none;
}

.div-toast,
.ret-days-toast,
.usage-stats-toast {
    background: linear-gradient(to right, #6347D9, #160F29);
    right: 19px;
    top: 86px;
    position: absolute;
    padding: 0.5rem 1rem;
    transition: 2s;
    z-index: 2;
    border-radius: 5px;
}

.test-data-toast {
    background: linear-gradient(to right, #6347D9, #160F29);
    right: 40%;
    top: 200px;
    position: absolute;
    padding: 0.5rem 1rem;
    transition: 2s;
    z-index: 2;
    border-radius: 5px;
}

.ret-days-toast {
    right: 490px;
    top: 266px;
}

.usage-stats-toast {
    position: relative;
    z-index: 10;
    top: -11px
}

.toast-close {
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
    color: var(--white-0);
    position: relative;
}

.usage-stats .index-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}




.org-nav-tab {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.usage-stats {
    display: flex;
    flex-direction: column;
}

.usage-stats .index-stats {
    z-index: 1;
}

.myOrg #source-selection {
    height: 32px;
    border: 1px solid var(--border-btn-color) !important;
    margin-right: 16px;
}

.myOrg #source-options,
.myOrg #source-selection {
    width: 674px;
}

.source-option {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}

/*Alerting Page*/
#alerting {
    padding: 16px;
    width: 100%;
    background-color: var(--alert-background);
    display: flex;
    flex-direction: column;
    height: calc(100% - 40px);
}

.all-alert-page {
    height: calc(100% - 90px);
}

#associated-alerts {
    width: 300px;
}

#associated-alerts {
    max-height: 209px;
    background: var(--index-drop-down-box-bg-color);
    overflow: scroll;
    border: 1px solid var(--timepicker-border-color);
}

#alerting input,
#alerting .dropdown-toggle,
#alerting textarea,
.add-label-container,
.add-header-container {
    border: 1px solid var(--search-input-border);
    background: var(--alert-background);
    color: var(--text-color);
}

#alerting .form-container {
    background-color: var(--black1-to-white0);
    border: 1px solid var(--search-input-border);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--box-shadow);
    overflow-y: scroll;
}

#alerting-form-container {
    margin-top: 20px;
}

#alerting .section-buttons {
    box-shadow: var(--box-shadow);
}

#alerting .section-buttons,
#alerting .section-button {
    background-color: var(--black1-to-white0);
}

#alerting .section-button.active {
    background: var(--tab-active-background);
}

.subsection-heading {
    display: flex;
    align-items: center;
}

.subsection-heading div:nth-child(2) {
    color: var(--drop-down-text-color);
    font-size: 14px;
    font-weight: 500;
    margin-left: 12px;
}

.label-subsection {
    margin-left: 32px
}

#history-search-container {
    margin-top: 16px;
    height: 44px;
}

#history-filter-input {
    margin: 5px 0 0 5px;
}

#alerting .circle {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background-color: var(--purple-1);
    color: var(--white-0);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;

}

.alert-form-subsection {
    background-color: var(--black1-to-white0);
    border: 1px solid var(--search-input-border);
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    margin-top: 4px;
    margin-left: 34px
}

.alerts-nav-tab {
    display: flex;
}

#alerting .caption {
    margin-top: 10px;
    margin-bottom: 10px;
}

#properties-grid .ag-root-wrapper.ag-layout-auto-height.ag-ltr,
#history-grid .ag-root-wrapper-body.ag-layout-normal {
    border: 1px solid var(--search-input-border) !important;
}

#new-contact-point,
#new-alert-rule {
    white-space: nowrap;
    width: fit-content;
}


.add-alert-form {
    width: 100%;
}

.add-contact-form {
    width: 70%;
}

.evaluation-container,
.condition-container,
.notification-container,
.query-container,
.query-lang-container {
    display: flex;
}

.query-lang-container {
    flex-wrap: wrap;
}

.query-lang-container>div {
    margin-right: 20px;
}

#alert-condition,
#contact-types,
#contact-points-dropdown,
#alert-data-source {
    width: 120px;
}

.evaluation-container div,
.condition-container div,
.notification-container div {
    margin-right: 30px;
    margin-bottom: 0;
}

.evaluation-container div {
    display: flex;
    align-items: center;
}

.query-container,
.evaluation-container,
.message-info {
    margin-top: 12px;
}

.min-span {
    color: var(--search-bar-text-color-regular-or-hover);
    margin-left: -50px
}

.label-container input,
.condition-container input {
    width: 120px;
}

.evaluation-container input {
    margin-left: 40px;
    width: 110px;
    margin-right: 10px;
}

#label-evaluate-every,
#for-span {
    position: relative;
}

#info-evaluate-every,
#info-evaluate-for {
    top: 4px;
    right: -30px;
}

.alert-condition-options,
.contact-options,
.contact-points-options,
#data-source-options,
#logs-language-options {
    width: 120px;
}

.add-contact-form>div,
.contact-container>div,
.contact-container .inner-container>div,
.add-contact-form #main-container>div {
    margin-bottom: 20px;
}

.message {
    background: var(--search-bar-bg);
    border: none;
    color: var(--search-bar-text-color-regular-or-hover);
    font-size: 12px;
    border-radius: 5px;
    width: 100%;
    padding: .375rem .75rem;
}

.message:focus {
    color: var(--search-bar-text-color-active);
    border-radius: 5px;
    background: var(--search-bar-bg);
    outline: 1pt solid var(--drop-down-btn-border-active);
    outline-offset: -1pt;
}

#info-icon-msg {
    top: 24px;
}

.upper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#alert-grid-container {
    height: 100% !important;
    margin-bottom: 20px;
}

#alert-grid-btn {
    display: flex;
}

#contact-points-dropdown,
.contact-points-options,
.new-contact-point,
#contact-types,
.contact-options {
    width: 220px;
}

.contact-points-options {
    overflow-y: scroll;
}

.contact-container {
    padding: 20px;
    padding-bottom: 0px;
    border: 1px solid var(--search-input-border);
    border-radius: 5px;
}

.del-contact-type,
.delete-icon {
    background-image: url(../assets/dark-delete-icon-regular.svg);
    height: 14px;
    background-repeat: no-repeat;
    width: 18px;
    cursor: pointer;
    background-color: transparent;
    border-width: 0;
    margin-left: 15px;
    padding-bottom: 0;
    margin-top: 5px;
    float: right;
    background-size: contain;
}

.test-contact-btn {
    background-color: var(--purple-2);
    margin-bottom: 0px;
    color: var(--white-0) !important;
    float: right;
    cursor: pointer;
    margin-left: 12px;
}

.test-contact-btn .send-icon {
    background-image: url(../assets/send-icon.svg);
    height: 13px;
    background-size: 100%;
    width: 12px;
    background-repeat: no-repeat;
    margin-bottom: 0px;
    margin-right: 6px;
}

#alerting .dropdown-menu.daterangepicker.show {
    height: 166px !important;
}

.custom-alert-dropdown-menu {
    background: var(--timepicker-bg-color);
    border: 1px solid var(--timepicker-border-color);
    color: var(--text-color);
    width: 300px;
    padding: 8px;
}

.groups-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 0;
}

.group-pill {
    background-color: var(--alert-background);
    border: 1px solid var(--border-color-regular);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    white-space: nowrap;
}

.delete-dialog #cancel-btn {
    float: right;
}

.card {
    width: fit-content;
    height: 40px;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px;
    background-color: var(--ui-widget-bg-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

p#versionInfo {
    margin: auto;
}

.message-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
}

.message-text {
    color: var(--purple-1);
    font-size: 14px;
    font-weight: 900;
}

.align-center-grid {
    display: flex;
    align-items: center;
}


.clear-icon {
    position: absolute;
    top: 7px;
    right: 28px;
    cursor: pointer;
    background: url(../assets/cross-btn-icon.svg);
    height: 11px;
    width: 11px;
    background-size: cover;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border: none !important;
}

/*Minion Searches*/

.logminion-container {
    padding: 20px;
    height: 100%;
}

.main-heading {
    font-size: 18px;
    color: var(--datatable-header-text-color);
    font-weight: bold;
}

.log-pane {
    display: flex;
    margin: 10px 0 15px 0;
}

.log-pane button {
    height: 34px;
    width: 110px;
    margin-right: 14px;
    border-radius: 5px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.log-pane button h3 {
    margin-right: 10px;
    font-size: 14px;
    margin-bottom: 0;
}

.log-pane button h4 {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 0;
}

#error {
    border: 1px solid #F55759;
    background: rgba(245, 87, 89, 0.30);
}

#info {
    border: 1px solid #53DB6E;
    background: rgba(83, 219, 110, 0.30)
}

#warning {
    border: 1px solid #F4BB20;
    background: rgba(244, 187, 32, 0.30)
}

#debug {
    border: 1px solid #418CE4;
    background: rgba(65, 140, 228, 0.30)
}

.result-pane {
    background-color: var(--datatable-bg-color);
    height: 36%;
    border-radius: 5px;
    position: relative;
    margin-top: 14px;
}

.result-pane .header {
    height: 34px;
    position: absolute;
    top: 0;
    background: var(--datatable-header-bg-color);
    width: 100%;
    border-radius: 5px 5px 0 0;
    padding: 7px;
    font-weight: bold;
}

.result-body {
    padding-top: 54px;
    padding-left: 10px;
}

.row-details p {
    font-size: 16px;
    margin-bottom: 0.5rem;
}

#ag-grid {
    height: 100%;
    width: 100%;
    margin-bottom: 10px;
}

.ag-paging-panel {
    font-size: 12px;
    margin-right: 1%;
}

.ag-paging-page-summary-panel {
    margin-left: 20px;
}

#alerting #ag-grid .ag-row:hover {
    background: var(--datatable-even-row-bg-color);
    cursor: pointer;
}

/* Create Dashboard from logs popup */

#add-logs-to-db-btn img {
    height: 18px;
    margin-bottom: 2px;
}

#create-db-popup {
    padding: 0;
    width: 464px !important;
}

#create-db-popup .error-tip {
    display: none;
}

#create-db-popup .error-tip.active {
    display: block;
    color: #6449D6;
    font-size: 11px;
    margin-bottom: 0px;
    font-weight: 500;
}

#create-db-popup .section-buttons,
#create-db-popup .section-button {
    background-color: var(--alert-background);
    width: 100%;
}

#create-db-popup .section-button.active {
    background: var(--tab-active-background);
}

#dashboard-options {
    max-height: 180px;
    overflow-y: scroll;
}

#dashboard-options .dashboard:hover {
    background: var(--index-drop-down-item-hover-bg-color);
    color: var(--index-drop-down-item-hover-text-color);
}

#dashboard-options .dashboard.active {
    background: var(--index-drop-down-item-active-bg-color);
    color: var(--index-drop-down-item-active-text-color);
}

.sendMsg {
    top: 35px;
}

.message-info {
    position: relative;
}

.minion-searches-pane {
    height: 50%;
}


#add-new-contact-popup {
    position: absolute;
    height: 70%;
    width: 60% !important;
    overflow: hidden;
}

#add-new-contact-popup #contact-form-container {
    height: 90%;
}

#add-new-contact-popup .add-contact-form {
    width: 100%;
}

.alert-properties>div {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.alert-properties h4 {
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px !important;
    margin-bottom: 0px;
}

.alert-properties {
    padding: 20px;
    border: 1px solid var(--search-input-border);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    background-color: var(--black1-to-white0);
    margin-top: 30px;
}

.alert-properties .label-element {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    height: 32px;
}

#alert-details {
    height: 100%;
}

#history-grid {
    height: calc(100% - 120px);
    display: none;
}

#edit-alert-btn,
#delete-alert,
#cancel-alert-details {
    border: 1px solid var(--search-input-border);
    background-color: var(--black1-to-white0);
    width: 70px;
    margin-right: 10px;
    color: var(--text-color);
}

#edit-alert-btn:hover,
#delete-alert:hover,
#cancel-alert-details:hover {
    background-color: var(--alert-background);
}

.alert-query {
    color: var(--text-color) !important;
    outline: none !important;
}

.label-equal {
    padding: 0px 10px;
}

#delete-alert-label,
#delete-header {
    margin: 10px;
}

.add-label-container,
.add-headers-container {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.add-label-container .plus-icon,
.add-headers-container .plus-icon {
    font-size: 24px;
    margin-bottom: 4px;
    margin-right: 6px;
}

#alert-form .btn-container,
#contact-form .btn-container {
    margin-top: -52px;
    position: absolute;
    right: 20px;
}

#alert-form .btn-container {
    margin-top: -47px;
}

#alerting #ag-grid {
    border: 1px solid var(--search-input-border);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
}

#alerting .ag-header-viewport,
#alerting .ag-header-cell {
    background-color: var(--alerting-table-bg-color);
}

#alerting .ag-row-position-absolute::after,
.myOrg-inner-container .ag-row-position-absolute:not(.ag-row-pinned)::after {
    content: '';
    position: absolute;
    left: 10px;
    width: 98%;
    height: 1px;
    background-color: var(--alerting-table-line-color);
    bottom: 0;
}

#alerting .ag-theme-mycustomtheme .ag-root-wrapper-body,
#alerting .ag-theme-mycustomtheme .ag-center-cols-container {
    background-color: var(--black1-to-white0) !important;
}

#alerting #ag-grid .ag-row:hover {
    background: var(--alerting-table-hover);
    cursor: pointer;
}

.headers-section p {
    font-size: 11px;
}

.headers-main-container {
    width: 100%;
}

.headers-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

.headers-labels {
    height: 15px;
    align-items: center;
    width: 80%;
    margin-bottom: 0 !important;
}

.header-label {
    flex: 1;
    min-width: 60px;
    font-size: 11px;
    font-weight: 600;
}

.headers-container input {
    height: 24px;
}

.headers-container input[readonly] {
    background-color: var(--alert-background);
    color: var(--text-color);
    border-color: var(--border-color-regular);
    border-radius: 5px !important;
}

.headers-gap {
    padding: 0px 10px;
}

.headers-container #header-key {
    flex: 1;
    min-width: 150px;
}

.headers-container #header-value {
    flex: 1.5;
    min-width: 180px;
}

.edit-icon {
    margin: 10px;
}

.tick-icon {
    background-repeat: no-repeat;
    width: 15px;
    height: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    margin-left: 8px;
    background-size: contain;
    background-position: center;
}

.tick-icon {
    background-image: url(../assets/tick-icon.svg);
}

.cross-icon {
    position: relative;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    margin-left: 8px;
}

.cross-icon::before,
.cross-icon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: var(--danger-color, #dc3545);
    top: 50%;
    left: 50%;
}

.cross-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.cross-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* Log Screen */


/* Log Screen Download  */
.download-options {
    width: 140px !important;
}

.download-progress-bar-container {
    margin: 20px 0;
    height: 8px;
    background-color: var(--white-2);
    border-radius: 4px;
    overflow: hidden;
}

.download-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--purple-1);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.download-progress-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--white-4);
    text-align: end;
}

/* Log Screen Download  End*/

.ui-dialog {
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


.refresh-container {
    display: flex;
}

#refresh-picker-btn {
    margin: 0;
    text-decoration: none;
    border: none;
    height: 24px;
    line-height: 14px;
    cursor: pointer;
    border-radius: 0 5px 5px 0 !important;
    width: auto;
    padding: 0 5px;
}

#refresh-picker-btn:hover {
    background: var(--drop-down-btn-bg-hover);
}

#refresh-picker-btn.active {
    background: var(--drop-down-btn-bg-active) !important;
    outline: 1px solid var(--drop-down-btn-border-active);
    outline-offset: -1pt;
}

.refresh-btn {
    border-radius: 5px 0 0 5px !important;
    height: 24px;
    width: 24px;
    background: var(--top-refresh-btn-bg-img) var(--drop-down-btn-bg-regular) center center no-repeat !important;
    background-size: 46% !important;
}

.refresh-picker.show {
    min-width: 53px !important;
    height: auto !important;
    background: var(--timepicker-bg-color);
    border: 1px solid var(--timepicker-border-color);
    color: var(--table-or-regular-text-color);
    border-radius: 5px;
    left: 3px !important;
    padding: 0.5rem;
}

.refresh-range-item.active {
    background-color: var(--index-drop-down-item-active-bg-color);
    color: var(--index-drop-down-item-active-text-color);
}

.refresh-range-item {
    padding: 1px 7px !important;
    display: flex;
    align-items: center;
    border-radius: 5px;
    line-height: 23px;
    cursor: pointer;
}

.refresh-range-item:hover {
    color: var(--timepicker-text-color-hover);
}

.panelDisplay,
.refresh-btn,
.dropdown-dash,
.refresh-container .dropdown-toggle {
    border: 1px solid var(--border-color-regular) !important;
}

#delbutton.default-dashboard-delete {
    background-image: none;
}

#delbutton.default-dashboard-delete {
    background-image: none;
}


.ingestion-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.ingestion-card {
    background: var(--black1-to-white0);
    border: 1px solid var(--search-input-border);
    border-radius: 5px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ingestion-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--black1-to-white0);
    border-bottom: none;
    padding: 0px;
}

.card-header .cards-svg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    align-items: center;
    background-color: var(--drop-down-btn-bg-regular);
    border-radius: 5px;
}

.card-header svg {
    margin: 0 !important;
    width: 22px;
}

[data-theme="dark"] .card-header .cards-svg-icon {
    background-color: var(--bg-color);
}

.card-header h3 {
    margin: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.ingest-inner-container .myOrg-heading {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 4px;
    width: 200px;
}

.ingestion-container,
.basic-info {
    margin-top: 16px;
    width: 50%;
    background-color: var(--black1-to-white0);
    border: 1px solid var(--search-input-border);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--box-shadow);
}

.ingestion-container textarea.form-control {
    background: var(--hits-summary-bg-regular) !important;
    color: var(--text-color);
    border-radius: 5px;
    transition: none;
    box-shadow: none !important;
    border: 1px solid var(--border-btn-color);
    height: auto;
}

.basic-info input {
    width: 50%;
    color: var(--text-color) !important
}

.ingestion-container a {
    color: var(--dashboard-title-color);
    font-weight: bold;
}

.fa.fa-vial {
    color: var(--purple-1);
}

.help-options {
    display: none;
    position: fixed;
    background-color: var(--side-nav-bg-color);
    padding: 6px;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
    bottom: 10px;
    left: 179px;
    border: 1px solid var(--border-btn-color);
    border-radius: 5px;
    box-shadow: 0px 2px 8px 0px var(--border-shadow);
}

.help-options hr {
    margin: 0;
    margin-bottom: 0px;
}

/* .icon-help, */
.icon-slack,
.icon-docs,
.icon-twitter,
.icon-linkedin,
.icon-feedback {
    min-height: 24px;
    min-width: 38px;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: 50%;
    display: inline-block;
    border: 0;
    height: 18px;
    width: 18px;
}

.icon-help {
    background-image: url("../assets/help-icon-inactive.svg");
    height: 18px;
    width: 18px;
    background-size: 15px;
}

.icon-help:hover,
.menu.nav-help.active .icon-help,
.menu.nav-help:hover .icon-help {
    background-image: url("../assets/help-icon-active.svg");
    height: 18px;
    width: 18px;
}

.icon-slack {
    background-image: url("../assets/slack-icon-inactive.svg");
}

.nav-slack:hover .icon-slack {
    background-image: url("../assets/slack-icon-active.svg");
}

.icon-docs {
    background-image: url("../assets/docs-icon-inactive.svg");
}

.nav-docs:hover .icon-docs {
    background-image: url("../assets/docs-icon-active.svg");
}

.icon-twitter {
    background-image: url("../assets/twitter-icon-inactive.svg");
}

.nav-twitter:hover .icon-twitter {
    background-image: url("../assets/twitter-icon-active.svg");
}

.icon-linkedin {
    background-image: url("../assets/linkedin-icon-inactive.svg");
}

.nav-linkedin:hover .icon-linkedin {
    background-image: url("../assets/linkedin-icon-active.svg");
}

#open-new-tab-icon {
    margin-left: 4px;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: cover;
    background-image: var(--new-tab-icon);
    margin-bottom: -1px;
}

.copy-icon {
    position: absolute;
    display: inline-block;
    height: 12px;
    width: 12px;
    background-size: cover;
    background-image: var(--copy-icon);
    cursor: pointer;
    top: 8px;
    right: 8px;
    transition: background-image 0.3s ease;
}

.copy-icon.success {
    background-image: url("../assets/tick-icon.svg");
    width: 14px;
    height: 10px;
    top: 9px;
}

.loading-icon {
    display: block;
    width: 50px;
    height: 50px;
    border: 8px solid #B4A6E6;
    border-top: 8px solid #6347D9;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
}

.mt-4 {
    margin-top: 1.5rem;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ag-overlay-loading-center {
    position: relative;
}

.loading-text {
    position: absolute;
    font-weight: bold;
    top: 20px;
    left: -36px;
    background-color: var(--bg-color);
    padding: 8px;
}

.index-box {
    display: flex;
    align-items: center;
}

.index-container {
    border: 1px solid var(--border-btn-color);
    border-radius: 4px;
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0px 2px;
    flex-grow: 1;
    margin-right: 10px;
}

.index-container .selected-index {
    color: var(--text-color);
    padding: 1px 22px 1px 4px;
    margin-left: 4px;
    white-space: nowrap;
    position: relative;
    background-color: var(--selected-index-container);
}

.index-container .selected-index .remove-icon {
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: -3px;
    right: 8px;
    cursor: pointer;
}

#index-listing {
    border: none !important;
    height: 22px !important;
    padding: 0px !important;
}

#index-listing:focus {
    outline: none;
    background: var(--ui-widget-bg-color);
}

.add-con {
    border: 1px solid var(--border-btn-color);
    font-size: 16px !important;
    padding: 0px;
    padding-bottom: 3px;
    margin: 0 3px 0 10px;
    height: 18px;
    width: 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--default-tab);
    color: var(--text-color);
}

/* Tippy.js Tooltip  */
.tippy-box {
    background-color: var(--side-nav-bg-color-regular);
    font-size: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.tippy-box[data-placement^='top']>.tippy-arrow::before {
    border-top-color: var(--side-nav-bg-color-regular);
}

.tippy-box[data-placement^='bottom']>.tippy-arrow::before {
    border-bottom-color: var(--side-nav-bg-color-regular);
}

.tippy-box[data-placement^='left']>.tippy-arrow::before {
    border-left-color: var(--side-nav-bg-color-regular);
}

.tippy-box[data-placement^='right']>.tippy-arrow::before {
    border-right-color: var(--side-nav-bg-color-regular);
}

.addrulepopupContent {
    width: 464px !important;
}

.form-control.error-border {
    border: 1px solid #EB364B !important;
    border-left: none;
}

.evaluation-error-message .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.evaluation-error-message {
    display: none;
    background-color: #EB364B;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    color: #fff;
    font-weight: bolder;
    justify-content: center;
    position: absolute;
    top: -6px;
    right: 2px;
    border: 1px solid #fff;
}

#addrule-save-btn:hover {
    background-color: #4F38CC;
}

#addrule-save-btn img {
    width: 10px;
    margin-left: 8px;
}

.btncontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 10px;
}

.btncontainer button {
    width: 100%;
}

.nav-metrics,
.nav-traces,
.nav-ingest,
.nav-alerts,
.nav-infrastructure {
    position: relative;
}

/* Specific styling for menu items with active state */
#app-side-nav .menu .nav-links {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 28px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

#app-side-nav .menu:hover .link-search,
#app-side-nav .menu:hover .link-slos,
#app-side-nav .menu:hover .link-minion,
#app-side-nav .menu:hover .link-usq,
#app-side-nav .menu:hover .link-myorg,
#app-side-nav .menu:hover .link-ldb,
#app-side-nav .menu:hover .link-usage-stats,
#app-side-nav .menu:hover .link-lookups {
    background-color: var(--side-nav-bg-color-selected);
}

#app-side-nav .menu.active .link-search,
#app-side-nav .menu.active .link-slos,
#app-side-nav .menu.active .link-minion,
#app-side-nav .menu.active .link-usq,
#app-side-nav .menu.active .link-myorg,
#app-side-nav .menu.active .link-ldb,
#app-side-nav .menu.active .link-usage-stats,
#app-side-nav .menu.active .link-lookups {
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    background-color: var(--side-nav-bg-color-selected);
}

#app-side-nav .menu.active .nav-link-text-drpdwn {
    color: var(--navbar-link-text);
}

/* Specific styling for Submenu dropdown */
#app-side-nav .nav-traces .menu-header,
#app-side-nav .nav-metrics .menu-header,
#app-side-nav .nav-ingest .menu-header,
#app-side-nav .nav-alerts .menu-header,
#app-side-nav .nav-infrastructure .menu-header,
#app-side-nav .nav-kubernetes .menu-header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 28px;
    border-radius: 0 5px 5px 0;
}

#app-side-nav .nav-traces.active,
#app-side-nav .nav-metrics.active,
#app-side-nav .nav-ingest.active,
#app-side-nav .nav-alerts.active,
#app-side-nav .nav-infrastructure.active,
#app-side-nav .nav-kubernetes.active {
    border-left: none !important;
    border-right: none !important;
    background-color: transparent !important;
}

#app-side-nav .nav-traces.active .menu-header,
#app-side-nav .nav-metrics.active .menu-header,
#app-side-nav .nav-ingest.active .menu-header,
#app-side-nav .nav-alerts.active .menu-header,
#app-side-nav .nav-infrastructure.active .menu-header.infrastructure-header,
#app-side-nav .nav-kubernetes.active .menu-header.kubernetes-header {
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    background-color: var(--side-nav-bg-color-selected);
}

#app-side-nav .nav-traces .menu-header:hover,
#app-side-nav .nav-metrics .menu-header:hover,
#app-side-nav .nav-ingest .menu-header:hover,
#app-side-nav .nav-alerts .menu-header:hover,
#app-side-nav .nav-infrastructure .menu-header:hover,
#app-side-nav .nav-kubernetes .menu-header:hover {
    background-color: var(--side-nav-bg-color-selected);
}

#app-side-nav .menu-header:hover .nav-link-text-drpdwn {
    color: var(--navbar-link-text-active);
}

#app-side-nav .nav-metrics.active .nav-link-text-drpdwn,
#app-side-nav .nav-traces.active .nav-link-text-drpdwn,
#app-side-nav .nav-ingest.active .nav-link-text-drpdwn,
#app-side-nav .nav-alerts.active .nav-link-text-drpdwn,
#app-side-nav .nav-infrastructure.active .nav-link-text-drpdwn,
#app-side-nav .nav-kubernetes.active .nav-link-text-drpdwn {
    color: var(--navbar-link-text-active) !important;
}

#app-side-nav .nav-metrics.submenu-active .nav-link-text-drpdwn,
#app-side-nav .nav-traces.submenu-active .nav-link-text-drpdwn,
#app-side-nav .nav-ingest.submenu-active .nav-link-text-drpdwn,
#app-side-nav .nav-alerts.submenu-active .nav-link-text-drpdwn,
#app-side-nav .nav-infrastructure.submenu-active .nav-link-text-drpdwn,
#app-side-nav .nav-kubernetes.submenu-active .nav-link-text-drpdwn {
    color: var(--navbar-link-text-active) !important;
}

#app-side-nav .nav-traces.active .traces-dropdown,
#app-side-nav .nav-metrics.active .metrics-dropdown,
#app-side-nav .nav-ingest.active .ingestion-dropdown,
#app-side-nav .nav-alerts.active .alerts-dropdown,
#app-side-nav .nav-infrastructure.active .infrastructure-dropdown,
#app-side-nav .nav-kubernetes.active .kubernetes-dropdown {
    border-left: none !important;
    border-right: none !important;
    background-color: var(--side-nav-bg-color-regular) !important;
}

.traces-dropdown,
.metrics-dropdown,
.ingestion-dropdown,
.alerts-dropdown,
.infrastructure-dropdown {
    display: none;
    background-color: var(--side-nav-bg-color-regular);
    padding: 0 0 6px 0;
    margin: 0;
    font-size: 11px;
    color: var(--navbar-link-text) !important;
    list-style-type: none;
    border-radius: 0 0 5px 5px;
    position: static;
    width: 100%;
    cursor: pointer;
}

.traces-dropdown a,
.metrics-dropdown a,
.ingestion-dropdown a,
.alerts-dropdown a {
    color: var(--navbar-link-text) !important;
    text-decoration: none;
    display: block;
    padding-left: 20px;
}

.traces-dropdown li,
.metrics-dropdown li,
.ingestion-dropdown li,
.alerts-dropdown li {
    margin-bottom: 2px;
    font-weight: 500;
    height: 28px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

.traces-dropdown li:hover,
.metrics-dropdown li:hover,
.ingestion-dropdown li:hover,
.alerts-dropdown li:hover {
    color: var(--navbar-link-text-active) !important;
    border-right: 5px solid var(--side-nav-bg-color-selected);
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
}

.traces-dropdown li:hover~.nav-link-text-drpdwn,
.metrics-dropdown li:hover~.nav-link-text-drpdwn,
.ingestion-dropdown li:hover~.nav-link-text-drpdwn,
.alerts-dropdown li:hover~.nav-link-text-drpdwn {
    color: var(--navbar-link-text) !important;
}

/* Active state for submenu items */
.traces-dropdown li.active,
.metrics-dropdown li.active,
.ingestion-dropdown li.active,
.alerts-dropdown li.active {
    color: var(--navbar-link-text-active) !important;
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    /* Orange bar for submenu */
    background-color: var(--side-nav-bg-color-selected) !important;
    border-radius: 0 5px 5px 0 !important;
}

#app-side-nav .nav-infrastructure.active .nav-kubernetes .nav-link-text-drpdwn {
    color: var(--navbar-link-text) !important;
}

#app-side-nav .nav-infrastructure.active .nav-kubernetes.active .nav-link-text-drpdwn {
    color: var(--navbar-link-text-active) !important;
}

#app-side-nav .nav-infrastructure .nav-kubernetes .menu-header:hover .nav-link-text-drpdwn {
    color: var(--navbar-link-text-active) !important;
}

.infrastructure-dropdown div {
    padding: 0px 0px 0px 20px !important;
}

.infrastructure-dropdown div.menu-header {
    margin-bottom: 0px !important;
    font-weight: 500;
    height: 28px;
    align-items: center;
    border-left: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

.infrastructure-dropdown div.menu-header:hover {
    color: var(--navbar-link-text-active) !important;
    border-right: 0px solid var(--side-nav-bg-color-selected);
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
}

.infrastructure-dropdown div.menu-header.active {
    color: var(--navbar-link-text-active) !important;
}

.kubernetes-dropdown {
    display: none;
    padding: 0 0 0 0 !important;
    margin: 0;
    font-size: 11px;
    color: var(--navbar-link-text) !important;
    list-style-type: none;
    border-radius: 0 0 5px 5px;
    position: static;
    width: 100%;
    cursor: pointer;
}

.kubernetes-dropdown a {
    color: var(--navbar-link-text) !important;
    text-decoration: none;
    display: block;
    padding-left: 20px;
}

.kubernetes-dropdown li {
    margin-bottom: 2px;
    font-weight: 500;
    height: 28px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 5px solid transparent;
    border-radius: 0 5px 5px 0;
}

.kubernetes-dropdown li:hover {
    color: var(--navbar-link-text-active) !important;
    border-right: 5px solid var(--side-nav-bg-color-selected);
    background-color: var(--side-nav-bg-color-selected);
    border-radius: 0 5px 5px 0;
}

.kubernetes-dropdown li.active {
    color: var(--navbar-link-text-active) !important;
    border-left: 5px solid var(--side-nav-selected-border-color) !important;
    /* Orange bar for submenu */
    background-color: var(--side-nav-bg-color-selected) !important;
    border-radius: 0 5px 5px 0 !important;
}

.submenu-arrow,
.kubernetes-arrow {
    display: inline-block;
    margin-right: 10px;
    padding-left: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submenu-arrow.rotated img.nav-dropdown-icon,
.kubernetes-arrow.rotated img.nav-dropdown-icon {
    transform: rotate(180deg) !important;
}

.help-options .help-links:hover {
    background-color: var(--purple-1);
    color: var(--navbar-link-text-active);
    ;
    border-radius: 5px;
}

.metric-summary {
    padding-bottom: 1%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.icon {
    visibility: hidden;
}

.require-field-tooltip {
    height: 38px !important;
    display: none;
    width: fit-content;
    text-align: left;
    border-radius: 4px;
    padding: 8px 12px 8px 40px !important;
    background-color: white;
    color: #333;
    position: absolute;
    z-index: 1;
    top: 34px;
    left: 180px;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    margin-top: 8px;
}

.require-field-tooltip::before {
    content: "!";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f0ad4e;
    color: white;
    border-radius: 2px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.require-field-tooltip::after {
    content: '';
    position: absolute;
    left: 15px;
    top: -9px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-left: 1px solid #d9d9d9;
    border-top: 1px solid #d9d9d9;
    transform: rotate(45deg);
    z-index: -1;
}

#alerting #select-metric-input {
    position: relative;
    border-radius: 0px !important;
}

.metric-container {
    display: flex;
    justify-content: left;
    flex-direction: column;
    align-items: left;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 15px;
    font-family: Inter, BlinkMacSystemFont, Helvetica, Arial, sans-serif !important;
}

.metric-stats {
    margin: auto;
    float: left;
    width: 95%;
}

#error-popup .fas {
    font-size: 16px;
    margin-right: 5px;
}

.ingest-inner-container {
    height: 100%;
    padding-left: 10px;
}

.ingest-inner-container .ui-tabs-panel {
    margin-top: 30px;
    border: none;
}

#sample-data {
    display: flex;
}

#index-del-btn-traces {
    background-image: none;
}

#error-popup .fas {
    font-size: 16px;
    margin-right: 5px;
}

#okay-button {
    background: var(--component-bg-color);
    color: var(--component-text-color) !important;
    width: 100px;
}

#index-del-btn-traces {
    background-image: none;

}

#message-toast {
    position: fixed;
    top: 10%;
    right: 10px;
    width: 300px;
    padding: 15px;
    z-index: 9999;
    box-shadow: var(--box-shadow);
    color: var(--text-color);
    background: var(--black1-to-white0);
    border: 1px solid var(--search-input-border);
    border-radius: 1px;
    transition: 0s;
}

#message-toast.toast-error {
    border-top: 2px solid #EF364F;
}

#message-toast.toast-success {
    border-top: 2px solid #40C463;
}

#message-toast .toast-close {
    float: right;
    font-size: 26px;
    cursor: pointer;
    top: -10px;
    color: var(--text-color);
    height: 26px;
}

.toast-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.toast-buttons button {
    margin-left: 10px;
}

#logs-explorer {
    width: 100%;
    height: 310px;
    border: 1px solid var(--border-btn-color);
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    margin-bottom: 12px;
    color: var(--empty-response-text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    padding: 8px;
    display: none;
    padding-top: 0;
    position: relative;
}

.total-unique-series {
    border: 1px solid var(--border-btn-color);
    box-shadow: 0px 2px 8px 0px var(--border-shadow);
    border-radius: 10px;
    background-color: var(--default-tab);
    padding: 16px;
}

.total-unique-series .caption {
    font-weight: bold;
    margin-bottom: 0px;
}

.total-unique-series #totalUniqueSeries {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--number-and-unit-color);
    font-size: 6rem;
    font-weight: bold;
    line-height: 7rem;
}

.json-body {
    border: 1px solid var(--border-btn-color);
    outline: none;
    padding: 1rem 1.25rem;
    width: 100%;
    background: transparent;
    border-radius: 5px;
    height: 85%;
    resize: none;
    color: var(--text-color);
    background: var(--bg-color);
}

.disable-dialog {
    overflow: hidden;
    height: 100%;
}

#pqs-id-details {
    height: 80vh;
    width: 514px !important;
}

.text-cursor {
    cursor: text !important;
}

#clear-pqs-info,
#close-popup {
    width: fit-content !important;
    padding: 0 20px;
    margin: 0px !important;
}

#pqs-id-details .header {
    font-size: 16px;
    margin-bottom: 8px;
}

#pqs-settings-table {
    background-color: var(--drop-down-btn-bg-regular);
}

.myOrg-inner-container .pqs-grid .ag-row:hover {
    background: var(--alerting-table-hover);
    cursor: pointer;
}

.myOrg-inner-container #active-queries .ag-row:hover,
.myOrg-inner-container #waiting-queries .ag-row:hover {
    background: var(--alerting-table-hover);
    cursor: text;
    user-select: text;
}

.myOrg-inner-container .ag-theme-mycustomtheme .ag-center-cols-container {
    background-color: var(--black1-to-white0) !important;
}

.myOrg-inner-container .ag-root-wrapper-body.ag-layout-normal {
    border: 1px solid var(--search-input-border);
    box-shadow: var(--box-shadow);
    border-radius: 5px;
}

.close-btn {
    background: url(../assets/cross-btn-icon.svg);
    height: 11px;
    width: 11px;
    background-size: cover;
    cursor: pointer;
    margin-bottom: 10px;
}

.pqs-tables h3 {
    font-weight: 600;
    font-size: 14px;
}

.myOrg-inner-container .ag-row-pinned {
    font-weight: bold;
}

.myOrg-inner-container .ag-row-pinned::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--alerting-table-line-color);
    top: 0;
}

#file-input {
    height: 60px !important;
}

#cancel-upload-btn,
#cancel-overwrite-btn {
    margin-right: 10px;
}

#csvViewerModal {
    width: 60% !important;
}

.breadcrumb-link {
    text-decoration: none;
}


.format-icon {
    cursor: pointer;
    display: none;
    background-color: var(--alert-background);
    font-size: 10px !important;
    padding: 2px 5px;
    color: grey;
    margin-right: -43px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    height: 22px;
}

.logcontainer {
    margin-bottom: 6px !important;
    width: 94px;
    height: 26px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.format-icon:hover {
    color: var(--text-color);
}

.applyBtn {
    width: 100%;
}

/* Infrastructure  */
.cluster-card {
    overflow: hidden;
    border: 1px solid var(--border-color-regular);
    border-radius: 3px;
}

.cluster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    border-bottom: 1px solid var(--border-color-regular);
}

.header-title {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    padding: 0px 8px;
}

.header-link {
    color: var(--purple-1);
    margin-right: 8px;
    cursor: pointer;
    font-weight: bold;
}

.header-link:hover {
    text-decoration: underline;
}

.header-actions {
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.header-actions .dropdown {
    width: 16px;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}

.header-actions .dropdown:hover {
    background: var(--drop-down-btn-bg-hover);
}

.cluster-content {
    background: linear-gradient(90deg, #7B61FF 0%, #AA8EFF 150%);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    opacity: 0.9;
}

.cluster-content .big-number {
    font-size: 48px;
    font-weight: bold;
    color: white;
}

.cluster-content .big-number.error {
    font-size: 40px;
    white-space: nowrap;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.menu-button {
    border-radius: 0;
    width: 10px;
    height: 100%;
    background-image: url(../assets/other-options-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    padding: 2px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 6px;
    top: 24px;
    z-index: 1;
}

.dropdown.active .dropdown-content {
    display: block;
}

.explore-option {
    min-width: 80px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: var(--default-tab);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--dropdown-border-color);
    font-size: 11px;
    border-radius: 3px;
}

.stats-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.stats-container>div {
    flex: 1;
}

.k8-chart-container {
    height: 480px;
}

.k8-chart-container>div,
.k8-chart-container .cluster-card {
    height: 100%;
}

.resource-page {
    display: none;
}

.usage-indicators {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.usage-indicators .indicator {
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-size: 13px;
}

.bucket-icon {
    position: relative;
    width: 11px;
    height: 11px;
    border: 1px solid var(--search-input-border);
    border-top: none;
}

.bucket-icon::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 1px;
    right: 0;
    width: 77%;
}

.low .bucket-icon::after {
    height: 30%;
    background: var(--color-pending);
}

.low {
    color: var(--color-pending);
}

.med .bucket-icon::after {
    height: 60%;
    background: var(--color-normal);
}

.med {
    color: var(--color-normal);
}

.high .bucket-icon::after {
    height: 90%;
    background: var(--color-firing);
}

.high {
    color: var(--color-firing);
}

.main-filter-container .filter-container {
    display: flex;
    align-items: center;
    width: fit-content;
}

.main-filter-container {
    display: flex;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.submenu-card {
    background-color: var(--drop-down-btn-bg-regular);
    border: 1px solid var(--search-input-border);
    border-radius: 4px;
    padding: 16px;
    width: 290px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submenu-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-2px);
}

.submenu-card p {
    margin-top: 18px;
}

.submenu-heading {
    font-size: 20px;
}

.submenu-caption {
    font-size: 14px;
}

.submenu-container {
    gap: 24px;
    display: flex;
    margin-top: 18px;
}

.kubernetes-img {
    background-image: url(../assets/kubernetes.png);
    height: 24px;
    width: 24px;
    background-size: contain;
}

.configuration-page {
    overflow-y: auto;
}

.k8-grid-container {
    height: calc(100% - 140px);
    display: flex;
}

.kubernetes-view-page {
    height: 100%;
}

.config-container .nav-tabs {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--alerting-table-line-color);
}

.config-container .tab {
    background: none;
    color: var(--white-4);
    padding: 4px 14px;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.config-container .tab.active {
    color: var(--purple-1);
    border-bottom: 2px solid var(--purple-1);
    background: var(--purple-15p);
    border-radius: 4px 4px 0 0;
    font-weight: bold;
}

.config-container [data-theme='dark'] .tab.active {
    color: var(--white);
}

.config-container .section {
    background-color: var(--black1-to-white0);
    padding: 16px;
    margin: 14px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px var(--shadow-1);
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--purple-1);
}

.input-field {
    width: 200px;
}

.code {
    background-color: var(--drop-down-btn-bg-regular);
    padding: 4px 8px;
    border-radius: 0.25rem;
    font-family: monospace;
    color: var(--purple-2);
    border: 1px solid var(--search-input-border);
}

.code-block {
    background: var(--search-bar-bg);
    padding: 8px;
    border-radius: 4px;
    font-family: monospace;
    white-space: pre-wrap;
    margin: 8px 0;
    position: relative;
    border: 1px solid var(--search-input-border);
    width: fit-content;
    font-size: 11px;
}

.list-item {
    gap: 8px;
    margin: 8px 0;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.endpoint {
    margin-top: 20px;
}

.endpoint-label {
    margin-bottom: 10px;
}

.endpoint .code-block {
    color: #d63384;
}

/* Create Alert Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 800px;
}

.alert-card {
    background-color: var(--black1-to-white0);
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--search-input-border);
    width: 380px;
}

.alert-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.alert-card .header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logs-icon {
    background: rgb(239, 246, 255);
}

[data-theme='dark'] .logs-icon {
    background: rgb(59, 130, 246);
}

.metrics-icon {
    background: rgb(240, 253, 244);
}

[data-theme='dark'] .metrics-icon {
    background: rgb(34, 197, 94);
}

[data-theme='dark'] .graph-icon,
[data-theme='dark'] .database-icon {
    color: var(--white) !important;
}


.card-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 4px;
}

.card-description {
    color: var(--white-4);
    font-size: 12px;
    margin: 0;
}

.card-content {
    border-top: 1px solid var(--search-input-border);
    padding-top: 1rem;
    margin-top: 1rem;
}

.use-cases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.use-cases-title {
    font-size: 11px;
}

.active-count {
    font-size: 13px;
    font-weight: bold;
}

.logs-count,
.database-icon {
    color: #4f46e5;
}

.metrics-count,
.graph-icon {
    color: #059669;
}

.use-case {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
    margin-bottom: 0.5rem;
}

.use-case:last-child {
    margin-bottom: 0;
}

.clock-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.custom-chart-container {
    display: flex;
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.json-popup {
    width: 0;
    background-color: var(--black1-to-white0);
    transition: width 0.3s ease, margin-left 0.3s ease, border 0.3s ease;
    overflow: hidden;
    border-top: 1px solid var(--panel-table-line-color);
    border-radius: 4px 0 0 0;
    display: block !important;
}

.json-popup.active {
    min-width: 400px;
    margin-left: 5px;
    border-left: 1px solid var(--panel-table-line-color);
    border-bottom: 1px solid var(--panel-table-line-color);
}

.json-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 12px;
    border-bottom: 1px solid var(--panel-table-line-color);
    background: var(--alerting-table-hover);
}

.json-popup-header-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.json-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--black-5);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.json-popup-content {
    overflow-y: auto;
    height: calc(100% - 76px);
    font-family: "Roboto Mono", Menlo, Monaco, "Courier New", monospace;
}

#table-tab {
    padding: 12px;
}

#json-tab {
    height: 100%;
}

.tab-button-ctn {
    background: var(--myOrg-input);
    padding: 4px;
    height: 28px;
    border-radius: 4px;
}

.tab-button {
    background: var(--myOrg-input);
    border: none;
    transition: 0.3s;
    border-radius: 4px;
    height: 100%;
    font-weight: 500;
    color: var(--text-color) !important;
}

.tab-button.active {
    background: var(--tab-active-background);
    border: 1px solid var(--purple-1);
    color: var(--text-color) !important;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.json-table {
    width: 100%;
    border-collapse: collapse;
}

.json-table th,
.json-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
}

.json-table td {
    font-family: Inter, "system-ui", Helvetica, Arial, sans-serif;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.json-table th {
    background-color: var(--datatable-header-bg-color);
}

.json-table th:first-child,
.json-table td:first-child {
    width: 40%;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.json-content-type-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 1px solid var(--alerting-table-line-color);
    background-color: var(--bg-color);
}

.json-content-type-box .copy-icon {
    position: relative;
    top: 0;
    right: 0;
}

.json-popup-header-buttons>div:last-child {
    margin-left: auto;
}

#panel-loading,
.panel-loading {
    border: 4px solid var(--purple-1);
    border-radius: 50%;
    border-top: 4px solid var(--lavender-1);
    border-bottom: 4px solid var(--lavender-1);
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 10;
}

/* Pagination  */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.pagination-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-size-select {
    padding: 4px 8px;
    border: 1px solid var(--border-btn-color);
    border-radius: 4px;
    background-color: var(--default-tab);
    color: var(--text-color);
}

.pagination-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-info {
    min-width: 200px;
}

.page-btn {
    padding: 5px 10px;
    border: 1px solid var(--border-btn-color);
    background-color: var(--default-tab);
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-number {
    padding: 5px 10px;
    border: 1px solid var(--border-btn-color);
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--default-tab);
    color: var(--text-color);
}

.page-number.active {
    background: #6449D6;
    color: white;
    border-color: #6449D6;
}

.page-ellipsis {
    padding: 0 5px;
}

.load-more-container {
    text-align: center;
    padding: 10px;
    display: none;
    border-radius: 4px;
    padding-top: 0px;
}

.load-more-link {
    color: var(--dashboard-title-color) !important;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
}

.fields-sidebar {
    width: 250px;
    background-color: var(--black1-to-white0);
    border-top: 1px solid var(--panel-table-line-color);
    border-right: 1px solid var(--panel-table-line-color);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-width: 190px;
    max-width: 500px;
    flex: 0 0 auto !important;
}

.fields-sidebar.hidden {
    display: none !important;
}

.fields-section {
    border-bottom: 1px solid #f0f0f0;
}

.fields-header {
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.fields-header:hover {
    background: var(--alerting-table-hover)
}

.header-title {
    display: flex;
    align-items: center;
}

.fields-header i {
    margin-right: 8px;
    font-size: 12px;
}

.field-count {
    background: var(--datatable-header-bg-color);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
}

.fields-list {
    padding: 0 8px;
}

.field-item {
    display: flex;
    align-items: center;
    padding: 2px 8px;
    margin-bottom: 4px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    min-height: 30px;
    margin-left: 20px;
}

.field-item:hover {
    background: var(--alerting-table-hover);
}

.field-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.field-name:hover {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: clip;
}

.field-action {
    opacity: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    border: 1px solid var(--panel-table-line-color);
    padding-bottom: 3px;
    cursor: pointer;
}

.field-item:hover .field-action {
    opacity: 1;
}

.field-action-add {
    background-color: var(--black1-to-white0);
}

.field-action-remove {
    color: var(--error);
    background-color: var(--black1-to-white0);
}

.fields-resizer {
    width: 4px;
    background: var(--datatable-header-bg-color);
    cursor: col-resize;
    margin: 0;
    height: 100%;
    position: relative;
    flex: 0 0 4px;
}

.fields-resizer:hover,
.fields-resizer.active {
    background-color: #a0a0a0;
}

.sl-header {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    box-shadow: 0 2px 5px rgba(111, 107, 123, 0.16);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    border-bottom: 1px solid var(--alerting-table-line-color);
    z-index: 2;
}

/* Hamburger Icon */
.sl-hamburger {
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    height: 24px;
    margin-right: 16px;
    border-radius: 4px;
    background-color: var(--drop-down-btn-bg-regular);
}

.sl-hamburger:hover {
    background-color: var(--drop-down-btn-bg-hover);
}

.sl-hamburger svg {
    height: 14px;
}

#app-side-nav .sl-hamburger {
    background-color: var(--side-nav-bg-color);
}

#app-side-nav .sl-hamburger {
    color: var(--white-0);
    background-color: var(--side-nav-bg-color-selected);
}

.nav-header {
    padding: 8px 0px 8px 16px;
    height: 40px;
    border-bottom: 1px solid var(--side-nav-bg-color-selected);
    display: flex;
    position: sticky;
    top: 0;
    background: var(--side-nav-bg-color-regular);
    z-index: 10;
}

.nav-footer {
    padding: 5px;
    border-top: 1px solid var(--side-nav-bg-color-selected);
    display: flex;
    flex-direction: column;
    position: sticky;
    bottom: 0;
    background: var(--side-nav-bg-color-regular);
    z-index: 10;
    height: 72px;
}

/* Breadcrumb Styles */
.sl-breadcrumb-container {
    flex-grow: 1;
    display: flex;
    gap: 8px;
    align-items: center;
}

.sl-breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 8px;
}

.sl-breadcrumb li {
    display: flex;
    align-items: center;
}

.sl-breadcrumb a,
.sl-breadcrumb span {
    text-decoration: none;
    color: #6F6B7B;
}

.sl-breadcrumb a:hover {
    text-decoration: underline;
}

.sl-breadcrumb li:last-child span.active {
    text-decoration: none;
    color: var(--text-color);
    cursor: text;
    font-weight: bold;
}

/* Usage Stats Screen  */
.granularity-tabs {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--search-input-border);
    height: 26px;
}

.granularity-tabs .tab {
    flex: 1;
    text-align: center;
    background-color: var(--drop-down-btn-bg-regular);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    border-right: 1px solid var(--search-input-border);
    white-space: nowrap;
    padding: 4px 14px;
}

.granularity-tabs .tab:last-child {
    border-right: none;
}

.granularity-tabs .tab.active {
    background-color: var(--purple-15p);
    color: var(--purple-1);
    font-weight: 500;
}

.granularity-tabs .tab-content.active {
    display: block;
}

.stats-header {
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--search-input-border);
    padding: 10px 16px;
    background-color: var(--alerting-table-bg-color);
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
}

.canvas-container {
    height: calc(300px - 42px);
    padding: 16px;
}

#stats-charts-container .dropdown-menu.daterangepicker.show {
    height: 330px !important;
}

.LogResultsGrid .highlighted-row {
    background: rgba(255, 255, 0, 0.1) !important;
    border: 1px solid !important;
    border-color: var(--purple-1) !important;
}

.ace_editor {
    background-color: var(--black1-to-white0) !important;
    color: var(--text-color) !important;
}

.ace_editor .ace_gutter {
    background-color: var(--white-1) !important;
    color: var(--white-4);
    border: none;
    z-index: 0;
}

.ace_string {
    color: #2A00FF !important;
}

.ace_constant.ace_numeric,
.ace_constant.ace_boolean {
    color: #0000CD !important;
}

.ace_storage,
.ace_keyword,
.ace_variable {
    color: #C41A16 !important;
}

[data-theme="dark"] .ace_editor .ace_gutter {
    background-color: var(--black-2) !important;
}

[data-theme="dark"] .ace_string {
    color: #9cdcfe !important;
}

[data-theme="dark"] .ace_constant.ace_numeric,
[data-theme="dark"] .ace_constant.ace_boolean {
    color: #FF73FD !important;
}

[data-theme="dark"] .ace_storage,
[data-theme="dark"] .ace_keyword,
[data-theme="dark"] .ace_variable {
    color: #FF6C6B !important;
}

[data-theme="dark"] .ace-tm .ace_indent-guide {
    background: none;
}